From 9222b5573949bab7b9d6a95f764bd255db5c1f93 Mon Sep 17 00:00:00 2001 From: "Lee E. Hinman" Date: Wed, 27 Sep 2023 14:04:02 -0500 Subject: [PATCH] fix lint check --- libbeat/outputs/elasticsearch/elasticsearch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbeat/outputs/elasticsearch/elasticsearch.go b/libbeat/outputs/elasticsearch/elasticsearch.go index 4d2d9aebe675..04b43fdadbb7 100644 --- a/libbeat/outputs/elasticsearch/elasticsearch.go +++ b/libbeat/outputs/elasticsearch/elasticsearch.go @@ -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)