Only add XPack plugin once

Original commit: elastic/x-pack-elasticsearch@dd697412a5
This commit is contained in:
jaymode 2016-11-22 16:59:16 -05:00
parent 9126600fc3
commit ecbdd92c8c
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ public class PreBuiltXPackTransportClient extends PreBuiltTransportClient {
}
public PreBuiltXPackTransportClient(Settings settings, Collection<Class<? extends Plugin>> plugins) {
this(settings, addPlugins(plugins, Collections.singletonList(XPackPlugin.class)), null);
this(settings, plugins, null);
}
public PreBuiltXPackTransportClient(Settings settings, Collection<Class<? extends Plugin>> plugins,