Skip to content

Commit c638a2f

Browse files
author
Hantao (Will) Wang
committed
format the volume locks
1 parent 29311bd commit c638a2f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/common/volume_lock.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ package common
1919
import "sync"
2020

2121
type VolumeLocks struct {
22-
locks map[string]interface{}
23-
mux sync.Mutex
22+
locks map[string]interface{}
23+
mux sync.Mutex
2424
}
2525

2626
func NewVolumeLocks() *VolumeLocks {
@@ -44,4 +44,3 @@ func (vl *VolumeLocks) Release(lock string) {
4444
defer vl.mux.Unlock()
4545
delete(vl.locks, lock)
4646
}
47-

0 commit comments

Comments
 (0)