From bf42789eb676c3a249cc10ebb0947d2ae7e6b812 Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Sun, 22 Sep 2019 21:20:12 +0200 Subject: [PATCH] fixed compile error --- .../xpack/enrich/client/EnrichTransportClientIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/qa/transport-client-tests/src/test/java/org/elasticsearch/xpack/enrich/client/EnrichTransportClientIT.java b/x-pack/qa/transport-client-tests/src/test/java/org/elasticsearch/xpack/enrich/client/EnrichTransportClientIT.java index 965c0cc1b03..34db7e84009 100644 --- a/x-pack/qa/transport-client-tests/src/test/java/org/elasticsearch/xpack/enrich/client/EnrichTransportClientIT.java +++ b/x-pack/qa/transport-client-tests/src/test/java/org/elasticsearch/xpack/enrich/client/EnrichTransportClientIT.java @@ -52,7 +52,7 @@ public class EnrichTransportClientIT extends ESXPackSmokeClientTestCase { assertTrue(acknowledgedResponse.isAcknowledged()); GetEnrichPolicyAction.Response getResponse = enrichClient.getEnrichPolicy( - new GetEnrichPolicyAction.Request(policyName)).actionGet(); + new GetEnrichPolicyAction.Request(new String[] {policyName})).actionGet(); assertThat(getResponse.getPolicies().size(), equalTo(1)); assertThat(policyName, equalTo(getResponse.getPolicies().get(0).getName()));