mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-02 17:50:39 +00:00
Lint
This commit is contained in:
@@ -24,9 +24,10 @@ type LatestEntry struct {
|
||||
}
|
||||
|
||||
func (e LatestEntry) String() string {
|
||||
return fmt.Sprintf("\"%s\" (%d)", e.Value, e.Timestamp.String())
|
||||
return fmt.Sprintf("\"%s\" (%s)", e.Value, e.Timestamp.String())
|
||||
}
|
||||
|
||||
// Equal returns true if the supplied LatestEntry is equal to this one.
|
||||
func (e LatestEntry) Equal(e2 LatestEntry) bool {
|
||||
return e.Timestamp.Equal(e2.Timestamp) && e.Value == e2.Value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user