-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mirror ReadyCondition with the actual current condition
This patch covers two things: - Mirror() relies on sorting conditions in each condition group by their LastTransitionTime, so it swaps the RestoreLastTransitionTimes() call with the Mirror() call in the defer function; - It setup ReadyCondition as Unknown instead of False, so we can avoid it to be the only one Mirrored in the top-level status: this allows the other conditions to compete for mirroring Signed-off-by: Francesco Pantano <[email protected]>
- Loading branch information
Showing
2 changed files
with
20 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters