Skip to content

Commit 7c0e9d6

Browse files
author
urso
committed
fix init order
1 parent f09d457 commit 7c0e9d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

filebeat/beater/filebeat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ func (fb *Filebeat) Run(b *beat.Beat) error {
237237
return err
238238
}
239239

240-
fb.pipeline = withPipelineEventCounter(fb.pipeline, wgEvents)
241240
fb.pipeline = pipetool.WithDefaultGuarantees(b.Publisher, beat.GuaranteedSend)
241+
fb.pipeline = withPipelineEventCounter(fb.pipeline, wgEvents)
242242

243243
outDone := make(chan struct{}) // outDone closes down all active pipeline connections
244244
pipelineConnector := channel.NewOutletFactory(outDone).Create

0 commit comments

Comments
 (0)