File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,22 @@ func (hw *HealthWatcherService) compareHealth(currentHealth map[string]*mpi.Inst
202202 defer hw .healthWatcherMutex .Unlock ()
203203
204204 if len (currentHealth ) != len (hw .cache ) {
205+ for _ , i := range currentHealth {
206+ slog .Info ("Health of Instance Current" )
207+ slog .Info ("Instance ID" , "" , i .GetInstanceId ())
208+ slog .Info ("Instance Status" , "" , i .GetInstanceHealthStatus ())
209+ slog .Info ("Instance Description" , "" , i .GetDescription ())
210+ }
211+
212+ slog .Info ("======================" )
213+ for _ , i := range currentHealth {
214+ slog .Info ("Health of Instance New" )
215+ slog .Info ("Instance ID" , "" , i .GetInstanceId ())
216+ slog .Info ("Instance Status" , "" , i .GetInstanceHealthStatus ())
217+ slog .Info ("Instance Description" , "" , i .GetDescription ())
218+ }
205219 slog .Info ("Len of cache different in health watcher cache" )
220+
206221 return true
207222 }
208223
You can’t perform that action at this time.
0 commit comments