mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
fix comment error in function newVolumeMounterFromPlugins
This commit is contained in:
parent
7043372d05
commit
ae4f9c83ae
@ -63,7 +63,7 @@ func (kl *Kubelet) podVolumesExist(podUID types.UID) bool {
|
||||
|
||||
// newVolumeMounterFromPlugins attempts to find a plugin by volume spec, pod
|
||||
// and volume options and then creates a Mounter.
|
||||
// Returns a valid Unmounter or an error.
|
||||
// Returns a valid mounter or an error.
|
||||
func (kl *Kubelet) newVolumeMounterFromPlugins(spec *volume.Spec, pod *v1.Pod, opts volume.VolumeOptions) (volume.Mounter, error) {
|
||||
plugin, err := kl.volumePluginMgr.FindPluginBySpec(spec)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user