Browse Source

fix compile for ingest plugin lambda

Ryan Ernst 9 years ago
parent
commit
7f6e0c6c02

+ 1 - 1
plugins/ingest-attachment/src/main/java/org/elasticsearch/ingest/attachment/IngestAttachmentPlugin.java

@@ -38,6 +38,6 @@ public class IngestAttachmentPlugin extends Plugin {
 
 
     public void onModule(NodeModule nodeModule) throws IOException {
     public void onModule(NodeModule nodeModule) throws IOException {
         nodeModule.registerProcessor(AttachmentProcessor.TYPE,
         nodeModule.registerProcessor(AttachmentProcessor.TYPE,
-            (templateService, registry) -> new AttachmentProcessor.Factory());
+            (registry) -> new AttachmentProcessor.Factory());
     }
     }
 }
 }