diff --git a/elasticsearch-transport-client/src/main/java/org/elasticsearch/xpack/client/PreBuiltXPackTransportClient.java b/elasticsearch-transport-client/src/main/java/org/elasticsearch/xpack/client/PreBuiltXPackTransportClient.java index 1de94f15d8d..427bdebfb91 100644 --- a/elasticsearch-transport-client/src/main/java/org/elasticsearch/xpack/client/PreBuiltXPackTransportClient.java +++ b/elasticsearch-transport-client/src/main/java/org/elasticsearch/xpack/client/PreBuiltXPackTransportClient.java @@ -38,7 +38,8 @@ public class PreBuiltXPackTransportClient extends PreBuiltTransportClient { this(settings, addPlugins(plugins, Collections.singletonList(XPackPlugin.class)), null); } - public PreBuiltXPackTransportClient(Settings settings, Collection> plugins, HostFailureListener hostFailureListener) { + public PreBuiltXPackTransportClient(Settings settings, Collection> plugins, + HostFailureListener hostFailureListener) { super(settings, addPlugins(plugins, Collections.singletonList(XPackPlugin.class)), hostFailureListener); }