mini fix about typo

pull/6/head
wackxu 2018-01-26 15:42:57 +08:00
parent f02f438a7a
commit cd48a6745a
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License. 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. // operations.
package attachdetach package attachdetach

View File

@ -654,7 +654,7 @@ func (pm *VolumePluginMgr) FindCreatablePluginBySpec(spec *Spec) (ProvisionableV
return nil, fmt.Errorf("no creatable volume plugin matched") 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 // Unlike the other "FindPlugin" methods, this does not return error if no
// plugin is found. All volumes require a mounter and unmounter, but not // plugin is found. All volumes require a mounter and unmounter, but not
// every volume will have an attacher/detacher. // every volume will have an attacher/detacher.