From 20a2d010b9abddc50a98da5e6481a3b56393dc08 Mon Sep 17 00:00:00 2001 From: Chase Engelbrecht Date: Fri, 15 Mar 2024 21:43:40 -0700 Subject: [PATCH] Missed paren Signed-off-by: Chase Engelbrecht --- .../dataprepper/plugins/sink/opensearch/OpenSearchSink.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-prepper-plugins/opensearch/src/main/java/org/opensearch/dataprepper/plugins/sink/opensearch/OpenSearchSink.java b/data-prepper-plugins/opensearch/src/main/java/org/opensearch/dataprepper/plugins/sink/opensearch/OpenSearchSink.java index 7764b2e9e8..54736c0885 100644 --- a/data-prepper-plugins/opensearch/src/main/java/org/opensearch/dataprepper/plugins/sink/opensearch/OpenSearchSink.java +++ b/data-prepper-plugins/opensearch/src/main/java/org/opensearch/dataprepper/plugins/sink/opensearch/OpenSearchSink.java @@ -434,7 +434,7 @@ public void doOutput(final Collection> records) { event.put("index", docIndexName); replacementFields.forEach(field -> event.put(field, List.of(docId))); } else { - replacementFields.forEach(field -> event.put(field, Collections.emptyList()); + replacementFields.forEach(field -> event.put(field, Collections.emptyList())); } event.delete("RULE_ENGINE_DOC_MATCH_ID");