The printing level for node updated failed info should be used WARNING type

just use Warning instead of Warningf
pull/6/head
guangxuli 2017-07-26 11:08:08 +08:00 committed by Gavin
parent 09d896bfd0
commit cb73ab2b07
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ func (asw *actualStateOfWorld) SetNodeStatusUpdateNeeded(nodeName types.NodeName
asw.Lock()
defer asw.Unlock()
if err := asw.updateNodeStatusUpdateNeeded(nodeName, true); err != nil {
glog.Errorf("Failed to update statusUpdateNeeded field in actual state of world: %v", err)
glog.Warningf("Failed to update statusUpdateNeeded field in actual state of world: %v", err)
}
}