ingest: Fixed left over rename to 'ingest-user-plugin'

Closes #19307
This commit is contained in:
Martijn van Groningen 2016-07-07 21:29:40 +02:00
parent 7d13906fcd
commit bf0c362412
2 changed files with 1 additions and 4 deletions

View File

@ -50,7 +50,7 @@ public class IngestUserAgentPlugin extends Plugin implements IngestPlugin {
@Override @Override
public Map<String, Processor.Factory> getProcessors( public Map<String, Processor.Factory> getProcessors(
Environment env, ScriptService scriptService, TemplateService templateService) { Environment env, ScriptService scriptService, TemplateService templateService) {
Path userAgentConfigDirectory = env.configFile().resolve("ingest-useragent"); Path userAgentConfigDirectory = env.configFile().resolve("ingest-user-agent");
if (Files.exists(userAgentConfigDirectory) == false && Files.isDirectory(userAgentConfigDirectory)) { if (Files.exists(userAgentConfigDirectory) == false && Files.isDirectory(userAgentConfigDirectory)) {
throw new IllegalStateException( throw new IllegalStateException(

View File

@ -1,8 +1,5 @@
--- ---
"Test user agent processor with custom regex file": "Test user agent processor with custom regex file":
- skip:
version: "all"
reason: "awaits fix #19307"
- do: - do:
ingest.put_pipeline: ingest.put_pipeline:
id: "my_pipeline" id: "my_pipeline"