fix(inputs.mqtt): Reference correct password variable (#14041)

This commit is contained in:
Marcel Beck 2023-10-04 10:18:20 +02:00 committed by GitHub
parent c007a1dbb2
commit aa2990d792
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ func NewMQTTv5Client(cfg *MqttConfig) (*mqttv5Client, error) {
options: opts,
timeout: time.Duration(cfg.Timeout),
username: cfg.Username,
password: config.Password,
password: cfg.Password,
qos: cfg.QoS,
retain: cfg.Retain,
properties: properties,