abhishek9686 1 gadu atpakaļ
vecāks
revīzija
07378361b1
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      mq/mq.go

+ 1 - 1
mq/mq.go

@@ -69,7 +69,7 @@ func SetupMQTT(fatal bool) {
 
 	opts := mqtt.NewClientOptions()
 	setMqOptions(servercfg.GetMqUserName(), servercfg.GetMqPassword(), opts)
-	logger.Log(0, "Mq Client Connecting with Random ID: ", opts.ClientID)
+	logger.Log(0, "Mq Client Connecting with ID: ", opts.ClientID)
 	opts.SetOnConnectHandler(func(client mqtt.Client) {
 		serverName := servercfg.GetServer()
 		if token := client.Subscribe(fmt.Sprintf("update/%s/#", serverName), 0, mqtt.MessageHandler(UpdateNode)); token.WaitTimeout(MQ_TIMEOUT*time.Second) && token.Error() != nil {