Typo in logic.

This commit is contained in:
Michal Schott
2020-05-05 14:32:41 +02:00
parent 615e3d4840
commit 64ebf53264
+2 -2
View File
@@ -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)