From 4937eb1fbf3d7ad80f50d0db32c4a6ac5fba0289 Mon Sep 17 00:00:00 2001 From: Stephen Crawford Date: Wed, 12 Jul 2023 12:53:27 -0400 Subject: [PATCH] Swap var Signed-off-by: Stephen Crawford --- server/src/main/java/org/opensearch/node/Node.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/opensearch/node/Node.java b/server/src/main/java/org/opensearch/node/Node.java index edfe242db51c8..eec1618e2a9f5 100644 --- a/server/src/main/java/org/opensearch/node/Node.java +++ b/server/src/main/java/org/opensearch/node/Node.java @@ -537,7 +537,7 @@ protected Node( } client = new NodeClient(settings, threadPool); - final IdentityService identityService = new IdentityService(settings, identityPlugins, threadPool); + final IdentityService identityService = new IdentityService(settings, identityPlugins, client); identityService.getApplicationManager().registerPluginsAndModules(); final ScriptModule scriptModule = new ScriptModule(settings, pluginsService.filterPlugins(ScriptPlugin.class));