Skip to content
Snippets Groups Projects

Resolve "Mosquitto bug"

Merged Maneschi Romain requested to merge RmManeschi/lorhammer:59-mqttBug into master
2 files
+ 3
1
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 2
1
@@ -39,7 +39,8 @@ func NewMqtt(hostname string, consulClient Consul) (Mqtt, error) {
return nil, err
}
return NewMqttBasic(url, MqttStartTopic+"/"+hostname)
clientID := hostname + "_" + string(RandomBytes(8))
return NewMqttBasic(url, clientID)
}
//NewMqttBasic return a Mqtt client
Loading