From ca6b1830f6ee38cc7f11a7d471b27a5d746c1cd0 Mon Sep 17 00:00:00 2001 From: Joshua Palis Date: Thu, 15 Aug 2024 22:18:02 +0000 Subject: [PATCH] Fixing syntax error Signed-off-by: Joshua Palis --- .../org/opensearch/flowframework/workflow/UpdateIndexStep.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/opensearch/flowframework/workflow/UpdateIndexStep.java b/src/main/java/org/opensearch/flowframework/workflow/UpdateIndexStep.java index 88a78fd1e..03950b6dc 100644 --- a/src/main/java/org/opensearch/flowframework/workflow/UpdateIndexStep.java +++ b/src/main/java/org/opensearch/flowframework/workflow/UpdateIndexStep.java @@ -115,7 +115,7 @@ public PlainActionFuture execute( } else { // Create index setting configuration can be a mix of flattened or expanded settings // prepend index. to ensure successful setting comparison - updatedSettings.entrySet().stream().map(x -> { + updatedSettings.entrySet().stream().forEach(x -> { if (!x.getKey().startsWith("index.")) { flattenedSettings.put("index." + x.getKey(), x.getValue()); } else {