mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-06-06 17:38:50 +00:00
Merge pull request #1632 from gaocegege/fix-typo
fix a typo in queue.go [CI SKIP]
This commit is contained in:
commit
06decc1d4d
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ func Remove(c context.Context, w *Work) error {
|
||||||
return FromContext(c).Remove(w)
|
return FromContext(c).Remove(w)
|
||||||
}
|
}
|
||||||
|
|
||||||
// PullClose retrieves and removes the head of this queue,
|
// Pull retrieves and removes the head of this queue,
|
||||||
// waiting if necessary until work becomes available.
|
// waiting if necessary until work becomes available.
|
||||||
func Pull(c context.Context) *Work {
|
func Pull(c context.Context) *Work {
|
||||||
return FromContext(c).Pull()
|
return FromContext(c).Pull()
|
||||||
|
|
Loading…
Reference in a new issue