Skip to content

Commit

Permalink
fix lint check
Browse files Browse the repository at this point in the history
  • Loading branch information
leehinman committed Sep 27, 2023
1 parent 1b4bd24 commit 9222b55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libbeat/outputs/elasticsearch/elasticsearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func makeES(
) (outputs.Group, error) {
log := logp.NewLogger(logSelector)
if !cfg.HasField("bulk_max_size") {
cfg.SetInt("bulk_max_size", -1, defaultBulkSize)
_ = cfg.SetInt("bulk_max_size", -1, defaultBulkSize)
}

index, pipeline, err := buildSelectors(im, beat, cfg)
Expand Down

0 comments on commit 9222b55

Please sign in to comment.