Skip to content

Commit

Permalink
add missing return statement (#4045)
Browse files Browse the repository at this point in the history
* fix missing return

* fix build
  • Loading branch information
glefloch authored and monicasarbu committed Apr 20, 2017
1 parent cd66a00 commit 18525be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libbeat/outputs/console/console.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ func (c *console) PublishEvent(
}

op.SigCompleted(s)
return nil
fail:
if opts.Guaranteed {
logp.Critical("Unable to publish events to console: %v", err)
Expand Down

0 comments on commit 18525be

Please sign in to comment.