Skip to content

Commit

Permalink
Merge pull request #2227 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…2219-to-release-1.23

[release-1.23] fix: correct condition message for NodeNetworkUnavailable
  • Loading branch information
k8s-ci-robot committed Sep 4, 2022
2 parents 69033bf + d7df933 commit 33d4574
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/nodemanager/nodemanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -656,15 +656,15 @@ func (cnc *CloudNodeController) updateNetworkingCondition(node *v1.Node, network
Type: v1.NodeNetworkUnavailable,
Status: v1.ConditionFalse,
Reason: "NodeInitialization",
Message: "Should wait for cloud routes",
Message: "Don't need to wait for cloud routes",
LastTransitionTime: currentTime,
})
} else {
err = nodeutil.SetNodeCondition(cnc.kubeClient, types.NodeName(node.Name), v1.NodeCondition{
Type: v1.NodeNetworkUnavailable,
Status: v1.ConditionTrue,
Reason: "NodeInitialization",
Message: "Don't need to wait for cloud routes",
Message: "Waiting for cloud routes",
LastTransitionTime: currentTime,
})
}
Expand Down

0 comments on commit 33d4574

Please sign in to comment.