From 979fa816180a91291bc447c61d57a7d55dc7ae32 Mon Sep 17 00:00:00 2001 From: javanna Date: Thu, 12 Nov 2015 15:45:35 +0100 Subject: [PATCH] make description optional as part of a Pipeline --- .../ingest/src/main/java/org/elasticsearch/ingest/Pipeline.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ingest/src/main/java/org/elasticsearch/ingest/Pipeline.java b/plugins/ingest/src/main/java/org/elasticsearch/ingest/Pipeline.java index 7d7959c2921..b98a469d3c3 100644 --- a/plugins/ingest/src/main/java/org/elasticsearch/ingest/Pipeline.java +++ b/plugins/ingest/src/main/java/org/elasticsearch/ingest/Pipeline.java @@ -89,7 +89,7 @@ public final class Pipeline { public final static class Factory { public Pipeline create(String id, Map config, Map processorRegistry) throws IOException { - String description = ConfigurationUtils.readStringProperty(config, "description"); + String description = ConfigurationUtils.readOptionalStringProperty(config, "description"); List processors = new ArrayList<>(); @SuppressWarnings("unchecked") List>> processorConfigs = (List>>) config.get("processors");