mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 10:43:56 +00:00
Merge pull request #60539 from Pingan2017/infovolumnhost
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. use glog.Infof instead of glog.Info in volumn_host **What this PR does / why we need it**: use glog.Infof instead of glog.Info **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
This commit is contained in:
commit
041a3c7dce
@ -148,7 +148,7 @@ func (kvh *kubeletVolumeHost) GetCloudProvider() cloudprovider.Interface {
|
|||||||
func (kvh *kubeletVolumeHost) GetMounter(pluginName string) mount.Interface {
|
func (kvh *kubeletVolumeHost) GetMounter(pluginName string) mount.Interface {
|
||||||
exec, err := kvh.getMountExec(pluginName)
|
exec, err := kvh.getMountExec(pluginName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
glog.V(2).Info("Error finding mount pod for plugin %s: %s", pluginName, err.Error())
|
glog.V(2).Infof("Error finding mount pod for plugin %s: %s", pluginName, err.Error())
|
||||||
// Use the default mounter
|
// Use the default mounter
|
||||||
exec = nil
|
exec = nil
|
||||||
}
|
}
|
||||||
@ -201,7 +201,7 @@ func (kvh *kubeletVolumeHost) GetNodeName() types.NodeName {
|
|||||||
func (kvh *kubeletVolumeHost) GetExec(pluginName string) mount.Exec {
|
func (kvh *kubeletVolumeHost) GetExec(pluginName string) mount.Exec {
|
||||||
exec, err := kvh.getMountExec(pluginName)
|
exec, err := kvh.getMountExec(pluginName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
glog.V(2).Info("Error finding mount pod for plugin %s: %s", pluginName, err.Error())
|
glog.V(2).Infof("Error finding mount pod for plugin %s: %s", pluginName, err.Error())
|
||||||
// Use the default exec
|
// Use the default exec
|
||||||
exec = nil
|
exec = nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user