1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-30 10:11:23 +02:00

Merge pull request #1632 from gaocegege/fix-typo

fix a typo in queue.go [CI SKIP]
This commit is contained in:
Brad Rydzewski 2016-05-11 08:05:03 -07:00
commit 06decc1d4d

View File

@ -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()