mirror of
https://github.com/kubereboot/kured.git
synced 2026-08-28 05:47:23 +00:00
Typo in logic.
This commit is contained in:
+2
-2
@@ -352,9 +352,9 @@ func root(cmd *cobra.Command, args []string) {
|
||||
log.Infof("Blocking Pod Selectors: %v", podSelectors)
|
||||
log.Infof("Reboot on: %v", window)
|
||||
if annotationTTL > 0 {
|
||||
log.Info("Force annotation cleanup disabled.")
|
||||
} else {
|
||||
log.Infof("Force annotation cleanup after: %v", annotationTTL)
|
||||
} else {
|
||||
log.Info("Force annotation cleanup disabled.")
|
||||
}
|
||||
|
||||
go rebootAsRequired(nodeID, window, annotationTTL)
|
||||
|
||||
Reference in New Issue
Block a user