mirror of https://github.com/k3s-io/k3s
Merge pull request #46587 from dixudx/fix_comment_in_newVolumeMounterFromPlugins
Automatic merge from submit-queue fix comment error in function newVolumeMounterFromPlugins **What this PR does / why we need it**: Fix the comment error in function newVolumeMounterFromPlugins, which may cause confusion.pull/6/head
commit
68dd748ba1
|
@ -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