File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
main/java/org/elasticsearch/xpack/enrich
test/java/org/elasticsearch/xpack/enrich Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1515import org .elasticsearch .ingest .Processor ;
1616import org .elasticsearch .xpack .core .enrich .EnrichPolicy ;
1717
18- import java .util .Collections ;
1918import java .util .Map ;
2019import java .util .function .Consumer ;
2120
Original file line number Diff line number Diff line change 1919import org .elasticsearch .xpack .core .enrich .action .ExecuteEnrichPolicyAction ;
2020import org .elasticsearch .xpack .core .enrich .action .PutEnrichPolicyAction ;
2121
22+ import java .util .Arrays ;
2223import java .util .Collection ;
2324import java .util .Collections ;
2425
@@ -29,7 +30,7 @@ public class EnrichPolicyUpdateTests extends ESSingleNodeTestCase {
2930
3031 @ Override
3132 protected Collection <Class <? extends Plugin >> getPlugins () {
32- return Collections . singleton (LocalStateEnrich .class , ReindexPlugin .class );
33+ return Arrays . asList (LocalStateEnrich .class , ReindexPlugin .class );
3334 }
3435
3536 public void testUpdatePolicyOnly () {
You can’t perform that action at this time.
0 commit comments