only print host id in log

This commit is contained in:
Abhishek Kondur 2023-01-26 14:02:47 +04:00
parent f19b33a84c
commit acbd0d6337

View file

@ -141,7 +141,7 @@ func UpdateHost(client mqtt.Client, msg mqtt.Message) {
logger.Log(1, "error unmarshaling payload ", err.Error())
return
}
logger.Log(3, fmt.Sprintf("recieved host update: %+v\n", hostUpdate))
logger.Log(3, fmt.Sprintf("recieved host update: %s\n", hostUpdate.Host.ID.String()))
var sendPeerUpdate bool
switch hostUpdate.Action {
case models.UpdateHost: