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,
|
||||
timeout: time.Duration(cfg.Timeout),
|
||||
username: cfg.Username,
|
||||
password: config.Password,
|
||||
password: cfg.Password,
|
||||
qos: cfg.QoS,
|
||||
retain: cfg.Retain,
|
||||
properties: properties,
|
||||
|
|
|
|||
Loading…
Reference in New Issue