r.khavronenko пре 9 година
родитељ
комит
25be602dce
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      pkg/tsdb/prometheus/prometheus.go

+ 2 - 2
pkg/tsdb/prometheus/prometheus.go

@@ -66,8 +66,8 @@ func (e *PrometheusExecutor) getClient() (prometheus.QueryAPI, error) {
 	if e.BasicAuth {
 		cfg.Transport = basicAuthTransport{
 			Transport: e.Transport,
-			username: e.BasicAuthUser,
-			password: e.BasicAuthPassword,
+			username:  e.BasicAuthUser,
+			password:  e.BasicAuthPassword,
 		}
 	}