diff --git a/pkg/controller/volume/attachdetach/attach_detach_controller.go b/pkg/controller/volume/attachdetach/attach_detach_controller.go index e7576ea0c3a..edbf1ca850b 100644 --- a/pkg/controller/volume/attachdetach/attach_detach_controller.go +++ b/pkg/controller/volume/attachdetach/attach_detach_controller.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Package volume implements a controller to manage volume attach and detach +// Package attachdetach implements a controller to manage volume attach and detach // operations. package attachdetach diff --git a/pkg/volume/plugins.go b/pkg/volume/plugins.go index 42ceaa40d2f..4057b278988 100644 --- a/pkg/volume/plugins.go +++ b/pkg/volume/plugins.go @@ -654,7 +654,7 @@ func (pm *VolumePluginMgr) FindCreatablePluginBySpec(spec *Spec) (ProvisionableV return nil, fmt.Errorf("no creatable volume plugin matched") } -// FindAttachablePluginBySpec fetches a persistent volume plugin by name. +// FindAttachablePluginBySpec fetches a persistent volume plugin by spec. // Unlike the other "FindPlugin" methods, this does not return error if no // plugin is found. All volumes require a mounter and unmounter, but not // every volume will have an attacher/detacher.