Ver código fonte

Fix a comment error

Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
Yanqiang Miao 8 anos atrás
pai
commit
19e2c9177a
1 arquivos alterados com 1 adições e 1 exclusões
  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