mirror of
https://github.com/kubereboot/kured.git
synced 2026-02-14 17:39:49 +00:00
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:
committed by
Jean-Philippe Evrard
parent
cbf9c46474
commit
44a68beb2f
@@ -612,8 +612,8 @@ func rebootAsRequired(nodeID string, rebooter reboot.Rebooter, checker checkers.
|
|||||||
log.Errorf("Error releasing lock, will retry: %v", err)
|
log.Errorf("Error releasing lock, will retry: %v", err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
break
|
|
||||||
}
|
}
|
||||||
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
preferNoScheduleTaint := taints.New(client, nodeID, preferNoScheduleTaintName, v1.TaintEffectPreferNoSchedule)
|
preferNoScheduleTaint := taints.New(client, nodeID, preferNoScheduleTaintName, v1.TaintEffectPreferNoSchedule)
|
||||||
|
|||||||
Reference in New Issue
Block a user