Skip to content

Commit

Permalink
chore: update execution.go (#1593)
Browse files Browse the repository at this point in the history
aquire -> acquire
  • Loading branch information
eltociear committed Jul 5, 2024
1 parent c9147d6 commit 75187a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/pkg/core/execution/execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (l LockingExecutorWrapper) Destroy() (bool, error) {
func (l LockingExecutorWrapper) Unlock() error {
err := l.ProjectLock.ForceUnlock()
if err != nil {
return fmt.Errorf("failed to aquire lock: %s, %v", l.ProjectLock.LockId(), err)
return fmt.Errorf("failed to acquire lock: %s, %v", l.ProjectLock.LockId(), err)
}
return nil
}
Expand All @@ -88,7 +88,7 @@ func (l LockingExecutorWrapper) Lock() error {
}
_, err := l.ProjectLock.Lock()
if err != nil {
return fmt.Errorf("failed to aquire lock: %s, %v", l.ProjectLock.LockId(), err)
return fmt.Errorf("failed to acquire lock: %s, %v", l.ProjectLock.LockId(), err)
}
return nil
}
Expand Down

0 comments on commit 75187a7

Please sign in to comment.