mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fix gofmt in master
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
(cherry picked from commit 9f348d5625
)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
parent
c4fd597ab3
commit
fd75cc462f
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ func (s *VolumeStore) Purge(name string) {
|
||||||
type VolumeStore struct {
|
type VolumeStore struct {
|
||||||
// locks ensures that only one action is being performed on a particular volume at a time without locking the entire store
|
// locks ensures that only one action is being performed on a particular volume at a time without locking the entire store
|
||||||
// since actions on volumes can be quite slow, this ensures the store is free to handle requests for other volumes.
|
// since actions on volumes can be quite slow, this ensures the store is free to handle requests for other volumes.
|
||||||
locks *locker.Locker
|
locks *locker.Locker
|
||||||
// globalLock is used to protect access to mutable structures used by the store object
|
// globalLock is used to protect access to mutable structures used by the store object
|
||||||
globalLock sync.RWMutex
|
globalLock sync.RWMutex
|
||||||
// names stores the volume name -> volume relationship.
|
// names stores the volume name -> volume relationship.
|
||||||
|
|
Loading…
Add table
Reference in a new issue