mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
Remove First and Last data members from Metrics structs
They can be trivially computed when required.
This commit is contained in:
@@ -84,8 +84,6 @@ func TestSummaries(t *testing.T) {
|
||||
Samples: nil,
|
||||
Min: metric.Min,
|
||||
Max: metric.Max,
|
||||
First: metric.First,
|
||||
Last: metric.Last,
|
||||
},
|
||||
}
|
||||
if !reflect.DeepEqual(want, row) {
|
||||
|
||||
Reference in New Issue
Block a user