r.khavronenko 9 anos atrás
pai
commit
25be602dce
1 arquivos alterados com 2 adições e 2 exclusões
  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,
 		}
 	}