mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 13:44: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 {
|
||||
in := c.in.Clone()
|
||||
in := c.in.Copy()
|
||||
|
||||
res, orig, err := populateLabels(c.in, c.cfg)
|
||||
if err != nil {
|
||||
t.Fatalf("case %d: %s", i, err)
|
||||
|
|
Loading…
Reference in a new issue