Merge pull request #73901 from danielqsj/73882

decrease the level of the warning log in volume plugins
pull/564/head
Kubernetes Prow Robot 2019-02-19 23:20:41 -08:00 committed by GitHub
commit ad403f8e20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -872,10 +872,10 @@ func (pm *VolumePluginMgr) FindExpandablePluginBySpec(spec *Spec) (ExpandableVol
if spec.IsKubeletExpandable() { if spec.IsKubeletExpandable() {
// for kubelet expandable volumes, return a noop plugin that // for kubelet expandable volumes, return a noop plugin that
// returns success for expand on the controller // 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 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 return nil, err
} }