Fix setting the username and the password to the influxdb output. (#2401)
This commit is contained in:
parent
577b25bcd1
commit
c1f825c705
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue