Fix incorrect break

Without this, the node cleanup loop is never ending.

Signed-off-by: Jean-Philippe Evrard <open-source@a.spamming.party>
This commit is contained in:
Jean-Philippe Evrard
2025-08-30 17:04:14 +02:00
committed by Jean-Philippe Evrard
parent cbf9c46474
commit 44a68beb2f

View File

@@ -612,8 +612,8 @@ func rebootAsRequired(nodeID string, rebooter reboot.Rebooter, checker checkers.
log.Errorf("Error releasing lock, will retry: %v", err)
continue
}
break
}
break
}
preferNoScheduleTaint := taints.New(client, nodeID, preferNoScheduleTaintName, v1.TaintEffectPreferNoSchedule)