mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-16 18:34:28 +02:00
fix a typo in queue.go
This commit is contained in:
parent
18feb303c2
commit
0b42fdd71d
@ -44,7 +44,7 @@ func Remove(c context.Context, w *Work) error {
|
||||
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.
|
||||
func Pull(c context.Context) *Work {
|
||||
return FromContext(c).Pull()
|
||||
|
Loading…
x
Reference in New Issue
Block a user