From e3f0c8bb2db3f0ceeb71e3c0643768ba747777f7 Mon Sep 17 00:00:00 2001 From: Hemant Kumar Date: Thu, 19 Oct 2017 09:37:07 -0400 Subject: [PATCH] Fixes spam from node status updates The same error is logged in 2 places which is unncessary. --- .../volume/attachdetach/cache/actual_state_of_world.go | 1 - 1 file changed, 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 fbb529154be..9bb6320c662 100644 --- a/pkg/controller/volume/attachdetach/cache/actual_state_of_world.go +++ b/pkg/controller/volume/attachdetach/cache/actual_state_of_world.go @@ -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) }