fix(inputs.mqtt): Reference correct password variable (#14041)
This commit is contained in:
parent
c007a1dbb2
commit
aa2990d792
|
|
@ -97,7 +97,7 @@ func NewMQTTv5Client(cfg *MqttConfig) (*mqttv5Client, error) {
|
||||||
options: opts,
|
options: opts,
|
||||||
timeout: time.Duration(cfg.Timeout),
|
timeout: time.Duration(cfg.Timeout),
|
||||||
username: cfg.Username,
|
username: cfg.Username,
|
||||||
password: config.Password,
|
password: cfg.Password,
|
||||||
qos: cfg.QoS,
|
qos: cfg.QoS,
|
||||||
retain: cfg.Retain,
|
retain: cfg.Retain,
|
||||||
properties: properties,
|
properties: properties,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue