Skip to content

Commit

Permalink
Fix errors caused by null plugin pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest committed Dec 14, 2023
1 parent b81c8f4 commit 16b8c62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,7 @@ private static Optional<Pipelines> resolvePipelinesFromIndexTemplates(IndexReque
if (v2Template != null) {
final Settings settings = MetadataIndexTemplateService.resolveSettings(metadata, v2Template);
return Optional.of(
new Pipelines(IndexSettings.DEFAULT_PIPELINE.get(settings), IndexSettings.FINAL_PIPELINE.get(settings), null)
new Pipelines(IndexSettings.DEFAULT_PIPELINE.get(settings), IndexSettings.FINAL_PIPELINE.get(settings), NOOP_PIPELINE_NAME)
);
}

Expand Down

0 comments on commit 16b8c62

Please sign in to comment.