浏览代码

Merge pull request #28367 from miaoyq/fix-a-comment-err

Fix a comment error
Brian Goff 8 年之前
父节点
当前提交
d8a7b13cd6
共有 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