Skip to content

Commit

Permalink
Renaming parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator committed Apr 20, 2020
1 parent 041922b commit 5ff7219
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libbeat/publisher/pipeline/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,18 @@ func newOutputController(
beat beat.Info,
monitors Monitors,
observer outputObserver,
b queue.Queue,
queue queue.Queue,
) *outputController {
c := &outputController{
beat: beat,
monitors: monitors,
observer: observer,
queue: b,
queue: queue,
workQueue: makeWorkQueue(),
}

ctx := &batchContext{}
c.consumer = newEventConsumer(monitors.Logger, b, ctx)
c.consumer = newEventConsumer(monitors.Logger, queue, ctx)
c.retryer = newRetryer(monitors.Logger, observer, c.workQueue, c.consumer)
ctx.observer = observer
ctx.retryer = c.retryer
Expand Down

0 comments on commit 5ff7219

Please sign in to comment.