Only add XPack plugin once
Original commit: elastic/x-pack-elasticsearch@dd697412a5
This commit is contained in:
parent
9126600fc3
commit
ecbdd92c8c
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue