fix negative resolve lock return value

Signed-off-by: Yilin Chen <sticnarf@gmail.com>
This commit is contained in:
Yilin Chen 2019-08-28 01:41:21 +08:00
parent 1ab0e7fdd6
commit dd2e186b0c
No known key found for this signature in database
GPG Key ID: 353E7ED34BF326E0
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ pub async fn resolve_locks(
.or_insert_with(HashSet::new)
.insert(cleaned_region);
}
Ok(has_live_locks)
Ok(!has_live_locks)
}
async fn resolve_lock_with_retry(