From 713925bf3e5cf9ecde460ec036dd6605e59a61e3 Mon Sep 17 00:00:00 2001 From: danielqsj Date: Mon, 11 Feb 2019 12:08:52 +0800 Subject: [PATCH] decrease the level of the warning log in volume plugins --- pkg/volume/plugins.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/volume/plugins.go b/pkg/volume/plugins.go index 7625d86bbc..7fa9c497ed 100644 --- a/pkg/volume/plugins.go +++ b/pkg/volume/plugins.go @@ -878,10 +878,10 @@ func (pm *VolumePluginMgr) FindExpandablePluginBySpec(spec *Spec) (ExpandableVol if spec.IsKubeletExpandable() { // for kubelet expandable volumes, return a noop plugin that // returns success for expand on the controller - klog.Warningf("FindExpandablePluginBySpec(%s) -> returning noopExpandableVolumePluginInstance", spec.Name()) + klog.V(4).Infof("FindExpandablePluginBySpec(%s) -> returning noopExpandableVolumePluginInstance", spec.Name()) return &noopExpandableVolumePluginInstance{spec}, nil } - klog.Warningf("FindExpandablePluginBySpec(%s) -> err:%v", spec.Name(), err) + klog.V(4).Infof("FindExpandablePluginBySpec(%s) -> err:%v", spec.Name(), err) return nil, err }