disconnect mq conn after updating admin password

This commit is contained in:
Abhishek Kondur 2022-09-16 15:53:31 +05:30
parent 1b4128bf69
commit bcaf009cd7

View file

@ -68,6 +68,7 @@ func Configure() {
if token := mqclient.Publish(DynamicSecPubTopic, 0, true, d); token.Error() != nil {
logger.FatalLog("failed to modify admin password: ", token.Error().Error())
}
mqclient.Disconnect(2)
adminPassword = newAdminPassword
}