Browse Source

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

Fix a comment error
Brian Goff 8 years ago
parent
commit
d8a7b13cd6
1 changed files with 1 additions and 1 deletions
  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 {
 type VolumeStore struct {
 	locks      *locker.Locker
 	locks      *locker.Locker
 	globalLock sync.Mutex
 	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
 	// This is used for making lookups faster so we don't have to probe all drivers
 	names map[string]volume.Volume
 	names map[string]volume.Volume
 	// refs stores the volume name and the list of things referencing it
 	// refs stores the volume name and the list of things referencing it