Do not ignore Lock()'s return value (#8142)

This commit is contained in:
Krishna Srinivas
2019-08-28 16:12:57 -07:00
committed by Harshavardhana
parent 83d4c5763c
commit 2ab0681c0c
5 changed files with 59 additions and 20 deletions

View File

@@ -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),