Merge pull request #54244 from gnufied/fix-log-spam-from-node-status

Automatic merge from submit-queue (batch tested with PRs 53809, 54244, 54142). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fixes spam from node status updates

Some of us are looking at reducing unncessary logging spam which happens in k8s.  This message is anyway logged by caller of the function and hence we should not log it again.

cc @kubernetes/sig-storage-pr-reviews @eparis
pull/6/head
Kubernetes Submit Queue 2017-10-19 11:50:03 -07:00 committed by GitHub
commit 44f898067b
1 changed files with 0 additions and 1 deletions

View File

@ -475,7 +475,6 @@ func (asw *actualStateOfWorld) updateNodeStatusUpdateNeeded(nodeName types.NodeN
// should not happen
errMsg := fmt.Sprintf("Failed to set statusUpdateNeeded to needed %t because nodeName=%q does not exist",
needed, nodeName)
glog.Errorf(errMsg)
return fmt.Errorf(errMsg)
}