gofmt
This commit is contained in:
parent
94f94f27ff
commit
a7a3e685fe
@ -646,7 +646,7 @@ func (s *Server) Lock(token, filename string) {
|
||||
return
|
||||
}
|
||||
|
||||
func (s *Server) Unlock(token, filename string) {
|
||||
func (s *Server) Unlock(token, filename string) {
|
||||
key := path.Join(token, filename)
|
||||
|
||||
lock, _ := s.locks.LoadOrStore(key, &sync.Mutex{})
|
||||
|
Loading…
x
Reference in New Issue
Block a user