Unverified Commit 041a3c7d authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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 ```
parents e3cbaf06 13863f12
...@@ -148,7 +148,7 @@ func (kvh *kubeletVolumeHost) GetCloudProvider() cloudprovider.Interface { ...@@ -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 { ...@@ -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
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment