Update call to newScrapePool

Used to have a different signature.

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
This commit is contained in:
György Krajcsovits 2023-11-28 13:12:24 +01:00
parent 403551ab61
commit bbe0615876

View file

@ -3706,7 +3706,7 @@ test_summary_count 199
}))
defer ts.Close()
sp, err := newScrapePool(config, simpleStorage, 0, nil, &Options{}, newTestScrapeMetrics(t))
sp, err := newScrapePool(config, simpleStorage, 0, nil, &Options{})
require.NoError(t, err)
defer sp.stop()