aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Russell <ryanrussell@users.noreply.github.com>2022-09-15 03:29:26 -0500
committerGitHub <noreply@github.com>2022-09-15 01:29:26 -0700
commit150ce9f3f6ed0d58ac27de0d5b8a310644dc5a1f (patch)
tree2eac4450bd81b92da9a7c8dff5f2640153429592
parentb51880ed3b80bab226ff5745f4e1f9618e7b2b93 (diff)
downloadseaweedfs-150ce9f3f6ed0d58ac27de0d5b8a310644dc5a1f.tar.xz
seaweedfs-150ce9f3f6ed0d58ac27de0d5b8a310644dc5a1f.zip
docs(wdclient): readability fix (#3685)
Signed-off-by: Ryan Russell <git@ryanrussell.org> Signed-off-by: Ryan Russell <git@ryanrussell.org>
-rw-r--r--weed/wdclient/resource_pool/semaphore.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/wdclient/resource_pool/semaphore.go b/weed/wdclient/resource_pool/semaphore.go
index ff35d5bc5..9bd6afc33 100644
--- a/weed/wdclient/resource_pool/semaphore.go
+++ b/weed/wdclient/resource_pool/semaphore.go
@@ -105,7 +105,7 @@ func (s *unboundedSemaphore) Release() {
s.lock.Lock()
s.counter += 1
if s.counter > 0 {
- // Not broadcasting here since it's unlike we can satify all waiting
+ // Not broadcasting here since it's unlike we can satisfy all waiting
// goroutines. Instead, we will Signal again if there are left over
// quota after Acquire, in case of lost wakeups.
s.cond.Signal()