Fix log format in flexvolume

This commit is contained in:
drfish
2021-04-13 21:31:25 +08:00
parent 46563b0abe
commit 63b249b84b
3 changed files with 3 additions and 3 deletions

View File

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