浏览代码

Fix a comment error

Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
Yanqiang Miao 8 年之前
父节点
当前提交
19e2c9177a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      volume/store/store.go

+ 1 - 1
volume/store/store.go

@@ -142,7 +142,7 @@ func (s *VolumeStore) Purge(name string) {
 type VolumeStore struct {
 	locks      *locker.Locker
 	globalLock sync.Mutex
-	// names stores the volume name -> driver name relationship.
+	// names stores the volume name -> volume relationship.
 	// This is used for making lookups faster so we don't have to probe all drivers
 	names map[string]volume.Volume
 	// refs stores the volume name and the list of things referencing it