Parcourir la source

aquire -> acquire

Jesse Dearing il y a 8 ans
Parent
commit
989f237b04
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      semaphore/semaphore.go

+ 1 - 1
semaphore/semaphore.go

@@ -8,7 +8,7 @@ import (
 
 // ErrNoTickets is the error returned by Acquire when it could not acquire
 // a ticket from the semaphore within the configured timeout.
-var ErrNoTickets = errors.New("could not aquire semaphore ticket")
+var ErrNoTickets = errors.New("could not acquire semaphore ticket")
 
 // Semaphore implements the semaphore resiliency pattern
 type Semaphore struct {