mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 03:08:15 +00:00
Update Heapster API in Godeps
This commit is contained in:
@@ -158,7 +158,7 @@ func (tc *testCase) prepareTestClient(t *testing.T) *testclient.Fake {
|
||||
metrics := heapster.MetricResultList{}
|
||||
for _, level := range tc.reportedLevels {
|
||||
metric := heapster.MetricResult{
|
||||
Metrics: []heapster.MetricPoint{{timestamp, level}},
|
||||
Metrics: []heapster.MetricPoint{{timestamp, level, nil}},
|
||||
LatestTimestamp: timestamp,
|
||||
}
|
||||
metrics.Items = append(metrics.Items, metric)
|
||||
|
||||
Reference in New Issue
Block a user