Improved log

master
Uriel Fanelli 2023-08-14 20:01:29 +02:00
parent 9b5443b341
commit ccadbd116c
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ func (b *AbstractBridge) WaitAndClean(entity AbstractMulticast) {
log.Println("Ip reachable, cluster OK") log.Println("Ip reachable, cluster OK")
continue continue
} else { } else {
log.Println("Situation non consistent, restart from green field.") log.Println("Ip absent, restart from green field.")
entity.HierarchyArray = entity.HierarchyArray[:0] entity.HierarchyArray = entity.HierarchyArray[:0]
entity.HierarchyArray = slices.Clip(entity.HierarchyArray) entity.HierarchyArray = slices.Clip(entity.HierarchyArray)
entity.AddUniqueAndSort(b.hIerarchyNumber) entity.AddUniqueAndSort(b.hIerarchyNumber)