Skip to content

Commit

Permalink
remove taint in case the reboot is not needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
damoon committed Jan 6, 2021
1 parent e430b14 commit 3a35d6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/kured/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ func rebootAsRequired(nodeID string, window *timewindow.TimeWindow, TTL time.Dur
}

if !rebootRequired() {
preferNoScheduleTaint.Disable()
continue
}

Expand Down

0 comments on commit 3a35d6a

Please sign in to comment.