From 8ce90fd7e1e39f2e255ca0a9ecf9a2bd57394660 Mon Sep 17 00:00:00 2001 From: Joshua Palis Date: Mon, 18 Sep 2023 23:31:37 +0000 Subject: [PATCH] removing unecessary cast Signed-off-by: Joshua Palis --- .../flowframework/workflow/CreateIngestPipelineStep.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/opensearch/flowframework/workflow/CreateIngestPipelineStep.java b/src/main/java/org/opensearch/flowframework/workflow/CreateIngestPipelineStep.java index a425c967b..a9b73610d 100644 --- a/src/main/java/org/opensearch/flowframework/workflow/CreateIngestPipelineStep.java +++ b/src/main/java/org/opensearch/flowframework/workflow/CreateIngestPipelineStep.java @@ -54,7 +54,7 @@ public CompletableFuture execute(List data) { logger.debug("Previous step sent params: {}, content: {}", parameters, content); if (parameters.containsKey("id")) { - pipelineId = (String) parameters.get("id"); + pipelineId = parameters.get("id"); } if (content.containsKey("source")) { source = (String) content.get("source");