mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-09 05:49:50 +00:00
Add godot linter to harmonitze toplevel comments (#3650)
This commit is contained in:
@@ -53,7 +53,7 @@ type fifo struct {
|
||||
|
||||
// New returns a new fifo queue.
|
||||
//
|
||||
//nolint:gomnd
|
||||
//nolint:mnd
|
||||
func New(_ context.Context) Queue {
|
||||
return &fifo{
|
||||
workers: map[*worker]struct{}{},
|
||||
@@ -225,7 +225,7 @@ func (q *fifo) Info(_ context.Context) InfoT {
|
||||
return stats
|
||||
}
|
||||
|
||||
// Pause stops the queue from handing out new work items in Poll
|
||||
// Pause stops the queue from handing out new work items in Poll.
|
||||
func (q *fifo) Pause() {
|
||||
q.Lock()
|
||||
q.paused = true
|
||||
|
Reference in New Issue
Block a user