diff --git a/pkg/bench/query_runner.go b/pkg/bench/query_runner.go index 20a3eabd4..8eb87c854 100644 --- a/pkg/bench/query_runner.go +++ b/pkg/bench/query_runner.go @@ -145,7 +145,7 @@ func newQueryClient(url, tenantName, username, password string) (v1.API, error) Address: url, RoundTripper: &httpmiddleware.TenantIDRoundTripper{ TenantName: tenantName, - Next: config_util.NewBasicAuthRoundTripper(username, config_util.Secret(password), "", api.DefaultRoundTripper), + Next: config_util.NewBasicAuthRoundTripper(username, config_util.Secret(password), "", "", api.DefaultRoundTripper), }, }) diff --git a/pkg/commands/analyse_prometheus.go b/pkg/commands/analyse_prometheus.go index e75f785fb..8f53552b0 100644 --- a/pkg/commands/analyse_prometheus.go +++ b/pkg/commands/analyse_prometheus.go @@ -69,7 +69,7 @@ func (cmd *PrometheusAnalyseCommand) run(_ *kingpin.ParseContext) error { rt := api.DefaultRoundTripper if cmd.username != "" { - rt = config.NewBasicAuthRoundTripper(cmd.username, config.Secret(cmd.password), "", api.DefaultRoundTripper) + rt = config.NewBasicAuthRoundTripper(cmd.username, config.Secret(cmd.password), "", "", api.DefaultRoundTripper) } promClient, err := api.NewClient(api.Config{ Address: cmd.address,