Browse Source

Merge pull request #29892 from Microsoft/jjh/volcomment

Correct comment in vol driver interface
Akihiro Suda 8 năm trước cách đây
mục cha
commit
10eee3dfa7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      volume/volume.go

+ 1 - 1
volume/volume.go

@@ -29,7 +29,7 @@ const (
 type Driver interface {
 	// Name returns the name of the volume driver.
 	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)
 	// Remove deletes the volume.
 	Remove(vol Volume) (err error)