Merge branch 'main' into eckelj/sync_routines

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
Jürgen Eckel 2024-03-05 15:44:49 +01:00
commit 930cd4675f
No known key found for this signature in database

View File

@ -39,7 +39,7 @@ func lazyLoadMQTTClient() {
conf := config.GetConfig()
hostPort := net.JoinHostPort(conf.MqttDomain, strconv.FormatInt(int64(conf.MqttPort), 10))
uri := "tcp://%s" + hostPort
uri := "tcp://" + hostPort
opts := mqtt.NewClientOptions().AddBroker(uri)
opts.SetClientID(conf.ValidatorAddress)