Merge pull request #80904 from fredkan/fix-flexvolume-volumename-issue

Fix flexvolume volumename issue
This commit is contained in:
Kubernetes Prow Robot 2019-08-19 07:35:32 -07:00 committed by GitHub
commit 5df8781ee3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -29,6 +29,6 @@ func logPrefix(plugin *flexVolumePlugin) string {
}
func (plugin *pluginDefaults) GetVolumeName(spec *volume.Spec) (string, error) {
klog.Warning(logPrefix((*flexVolumePlugin)(plugin)), "using default GetVolumeName for volume ", spec.Name())
klog.V(4).Infof(logPrefix((*flexVolumePlugin)(plugin)), "using default GetVolumeName for volume ", spec.Name())
return spec.Name(), nil
}

View File

@ -134,7 +134,7 @@ func (plugin *flexVolumePlugin) GetVolumeName(spec *volume.Spec) (string, error)
return "", err
}
klog.Warning(logPrefix(plugin), "GetVolumeName is not supported yet. Defaulting to PV or volume name: ", name)
klog.V(4).Infof(logPrefix(plugin), "GetVolumeName is not supported yet. Defaulting to PV or volume name: ", name)
return name, nil
}