mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 06:04:05 -08:00
storage: Fix go vet
error
This commit is contained in:
parent
5f3327f620
commit
9b6a1dad05
|
@ -657,14 +657,18 @@ func TestMetricsForLabelMatchersIgnoresRemoteData(t *testing.T) {
|
|||
model.MetricNameLabel: "testmetric",
|
||||
"testlabel": "testvalue1",
|
||||
},
|
||||
Values: []model.SamplePair{{1, 1}},
|
||||
Values: []model.SamplePair{{
|
||||
Timestamp: 1, Value: 1,
|
||||
}},
|
||||
},
|
||||
&model.SampleStream{
|
||||
Metric: model.Metric{
|
||||
model.MetricNameLabel: "testmetric",
|
||||
"testlabel": "testvalue2",
|
||||
},
|
||||
Values: []model.SamplePair{{1, 1}},
|
||||
Values: []model.SamplePair{{
|
||||
Timestamp: 1, Value: 1,
|
||||
}},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -676,14 +680,18 @@ func TestMetricsForLabelMatchersIgnoresRemoteData(t *testing.T) {
|
|||
model.MetricNameLabel: "testmetric",
|
||||
"testlabel": "testvalue2",
|
||||
},
|
||||
Values: []model.SamplePair{{1, 1}},
|
||||
Values: []model.SamplePair{{
|
||||
Timestamp: 1, Value: 1,
|
||||
}},
|
||||
},
|
||||
&model.SampleStream{
|
||||
Metric: model.Metric{
|
||||
model.MetricNameLabel: "testmetric",
|
||||
"testlabel": "testvalue3",
|
||||
},
|
||||
Values: []model.SamplePair{{1, 1}},
|
||||
Values: []model.SamplePair{{
|
||||
Timestamp: 1, Value: 1,
|
||||
}},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue