Skip to content

Commit

Permalink
fix(kv): typo in comment (talent-plan#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
woolen-sheep authored Jun 13, 2022
1 parent 9d03198 commit 856e7a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kv/transaction/latches/latches.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (l *Latches) ReleaseLatches(keysToUnlatch [][]byte) {
}
}

// WaitForLatches attempts to lock all keys in keysToLatch using AcquireLatches. If a latch ia already locked, then =
// WaitForLatches attempts to lock all keys in keysToLatch using AcquireLatches. If a latch is already locked, then
// WaitForLatches will wait for it to become unlocked then try again. Therefore WaitForLatches may block for an unbounded
// length of time.
func (l *Latches) WaitForLatches(keysToLatch [][]byte) {
Expand Down

0 comments on commit 856e7a1

Please sign in to comment.