Fix setting the username and the password to the influxdb output. (#2401)

This commit is contained in:
François de Metz 2017-02-13 15:30:30 +00:00 committed by Cameron Sparr
parent 577b25bcd1
commit c1f825c705
1 changed files with 2 additions and 0 deletions

View File

@ -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,