mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
Do not ignore Lock()'s return value (#8142)
This commit is contained in:
committed by
Harshavardhana
parent
83d4c5763c
commit
2ab0681c0c
@@ -35,7 +35,7 @@ func createLockTestServer(t *testing.T) (string, *lockRESTServer, string) {
|
||||
}
|
||||
|
||||
locker := &lockRESTServer{
|
||||
ll: localLocker{
|
||||
ll: &localLocker{
|
||||
mutex: sync.Mutex{},
|
||||
serviceEndpoint: "rpc-path",
|
||||
lockMap: make(map[string][]lockRequesterInfo),
|
||||
|
||||
Reference in New Issue
Block a user