Skip to content

Commit cdff17a

Browse files
authored
Merge pull request kubernetes#78166 from qingsenLi/k8s-190522
duplicated klog.V(5) when had a if klog.V(5)
2 parents 73b8011 + 5c23e39 commit cdff17a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/nodelifecycle/node_lifecycle_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ func (nc *Controller) tryUpdateNodeHealth(node *v1.Node) (time.Duration, v1.Node
862862
transitionTime = savedNodeHealth.readyTransitionTimestamp
863863
}
864864
if klog.V(5) {
865-
klog.V(5).Infof("Node %s ReadyCondition updated. Updating timestamp: %+v vs %+v.", node.Name, savedNodeHealth.status, node.Status)
865+
klog.Infof("Node %s ReadyCondition updated. Updating timestamp: %+v vs %+v.", node.Name, savedNodeHealth.status, node.Status)
866866
} else {
867867
klog.V(3).Infof("Node %s ReadyCondition updated. Updating timestamp.", node.Name)
868868
}

0 commit comments

Comments
 (0)