mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Merge pull request #73901 from danielqsj/73882
decrease the level of the warning log in volume plugins
This commit is contained in:
commit
ad403f8e20
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user