Skip to content

Commit

Permalink
Swap var
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Crawford <steecraw@amazon.com>
  • Loading branch information
stephen-crawford committed Jul 12, 2023
1 parent 6be0f4f commit 4937eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/main/java/org/opensearch/node/Node.java
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 4937eb1

Please sign in to comment.