From cb73ab2b0717666f52753a8e76e1bf9911dbb9ed Mon Sep 17 00:00:00 2001 From: guangxuli Date: Wed, 26 Jul 2017 11:08:08 +0800 Subject: [PATCH] The printing level for node updated failed info should be used WARNING type just use Warning instead of Warningf --- .../volume/attachdetach/cache/actual_state_of_world.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/volume/attachdetach/cache/actual_state_of_world.go b/pkg/controller/volume/attachdetach/cache/actual_state_of_world.go index 9bb6320c662..4d4a7523d8d 100644 --- a/pkg/controller/volume/attachdetach/cache/actual_state_of_world.go +++ b/pkg/controller/volume/attachdetach/cache/actual_state_of_world.go @@ -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) } }