ingest: don't render template twice for append processor
This commit is contained in:
parent
22242ec881
commit
48926b4d66
|
@ -80,7 +80,7 @@ public final class AppendProcessor extends AbstractProcessor {
|
|||
Object value = ConfigurationUtils.readObject(TYPE, processorTag, config, "value");
|
||||
TemplateService.Template compiledTemplate = ConfigurationUtils.compileTemplate(TYPE, processorTag,
|
||||
"field", field, templateService);
|
||||
return new AppendProcessor(processorTag, templateService.compile(field), ValueSource.wrap(value, templateService));
|
||||
return new AppendProcessor(processorTag, compiledTemplate, ValueSource.wrap(value, templateService));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue