From 419a0ebdcaa4158ab2a719c8e5dc558f24a5d8d9 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 12 Feb 2024 20:00:29 +0200 Subject: [PATCH] lib/promscrape: fix TestGetStaticScrapeWorkSuccess test after ca679269527ec21cb3418182d47953ac463ab031 --- lib/promscrape/config_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/promscrape/config_test.go b/lib/promscrape/config_test.go index a5524b429..7d3016e06 100644 --- a/lib/promscrape/config_test.go +++ b/lib/promscrape/config_test.go @@ -1308,7 +1308,9 @@ scrape_configs: "instance": "foo.bar:1234", "job": "foo", }), - SeriesLimit: 0, + AuthConfig: &promauth.Config{}, + ProxyAuthConfig: &promauth.Config{}, + SeriesLimit: 0, }, }) *seriesLimitPerTarget = defaultSeriesLimitPerTarget