mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 06:04:05 -08:00
retrieval: fix test
This commit is contained in:
parent
b416ccb650
commit
5ec1efe622
|
@ -141,7 +141,8 @@ func TestPopulateLabels(t *testing.T) {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
for i, c := range cases {
|
for i, c := range cases {
|
||||||
in := c.in.Clone()
|
in := c.in.Copy()
|
||||||
|
|
||||||
res, orig, err := populateLabels(c.in, c.cfg)
|
res, orig, err := populateLabels(c.in, c.cfg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("case %d: %s", i, err)
|
t.Fatalf("case %d: %s", i, err)
|
||||||
|
|
Loading…
Reference in a new issue