Commit f70d7ff3 by bergquist

fix(influxdb): align tsdb.influxdb with dataproxy

ref #6784
parent 36888982
...@@ -127,7 +127,7 @@ func (e *InfluxDBExecutor) createRequest(query string) (*http.Request, error) { ...@@ -127,7 +127,7 @@ func (e *InfluxDBExecutor) createRequest(query string) (*http.Request, error) {
req.SetBasicAuth(e.BasicAuthUser, e.BasicAuthPassword) req.SetBasicAuth(e.BasicAuthUser, e.BasicAuthPassword)
} }
if e.User != "" { if !e.BasicAuth && e.User != "" {
req.SetBasicAuth(e.User, e.Password) req.SetBasicAuth(e.User, e.Password)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment