fixed compile error

This commit is contained in:
Martijn van Groningen 2019-09-22 21:20:12 +02:00
parent f1c7ed647b
commit bf42789eb6
No known key found for this signature in database
GPG Key ID: AB236F4FCF2AF12A
1 changed files with 1 additions and 1 deletions

View File

@ -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()));