浏览代码

aquire -> acquire

Jesse Dearing 8 年之前
父节点
当前提交
989f237b04
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {