Skip to content

Commit

Permalink
lib/prom: fix broken test after dep upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
tsenart committed Jul 27, 2024
1 parent fc8add3 commit b0b14b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/prom/prom_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func TestMetrics_Observe(t *testing.T) {
t.Errorf("error reading response body: err=%v", err)
}

p, err := textparse.New(data, resp.Header.Get("Content-Type"), true)
p, err := textparse.New(data, resp.Header.Get("Content-Type"), true, nil)
if err != nil {
t.Fatalf("error creating prometheus metrics parser. err=%v", err)
}
Expand Down

0 comments on commit b0b14b9

Please sign in to comment.