Skip to content

Commit

Permalink
Fix setting the username and the password to the influxdb output. (#2401
Browse files Browse the repository at this point in the history
)
  • Loading branch information
francois2metz authored and sparrc committed Feb 13, 2017
1 parent 22243a8 commit 45a168e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/outputs/influxdb/influxdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ func (i *InfluxDB) Connect() error {
Timeout: i.Timeout.Duration,
TLSConfig: tlsConfig,
UserAgent: i.UserAgent,
Username: i.Username,
Password: i.Password,
}
wp := client.WriteParams{
Database: i.Database,
Expand Down

0 comments on commit 45a168e

Please sign in to comment.