소스 검색

Merge pull request #29892 from Microsoft/jjh/volcomment

Correct comment in vol driver interface
Akihiro Suda 8 년 전
부모
커밋
10eee3dfa7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      volume/volume.go

+ 1 - 1
volume/volume.go

@@ -29,7 +29,7 @@ const (
 type Driver interface {
 type Driver interface {
 	// Name returns the name of the volume driver.
 	// Name returns the name of the volume driver.
 	Name() string
 	Name() string
-	// Create makes a new volume with the given id.
+	// Create makes a new volume with the given name.
 	Create(name string, opts map[string]string) (Volume, error)
 	Create(name string, opts map[string]string) (Volume, error)
 	// Remove deletes the volume.
 	// Remove deletes the volume.
 	Remove(vol Volume) (err error)
 	Remove(vol Volume) (err error)