Skip to content

Commit

Permalink
fix(influxdb): align tsdb.influxdb with dataproxy
Browse files Browse the repository at this point in the history
  • Loading branch information
bergquist committed Dec 2, 2016
1 parent 3688898 commit f70d7ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tsdb/influxdb/influxdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (e *InfluxDBExecutor) createRequest(query string) (*http.Request, error) {
req.SetBasicAuth(e.BasicAuthUser, e.BasicAuthPassword)
}

if e.User != "" {
if !e.BasicAuth && e.User != "" {
req.SetBasicAuth(e.User, e.Password)
}

Expand Down

0 comments on commit f70d7ff

Please sign in to comment.