Skip to content

Commit

Permalink
Fixes initialization error
Browse files Browse the repository at this point in the history
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
  • Loading branch information
DarshitChanpura committed Oct 4, 2024
1 parent 694e150 commit 7b927fd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,6 @@ public List<String> run() {
}

}

this.resourceAccessHandler = new ResourceAccessHandler(threadPool);
}

private void verifyTLSVersion(final String settings, final List<String> configuredProtocols) {
Expand Down Expand Up @@ -1215,6 +1213,8 @@ public Collection<Object> createComponents(
e.subscribeForChanges(dcf);
}

resourceAccessHandler = new ResourceAccessHandler(threadPool);

rmr = ResourceManagementRepository.create(settings, threadPool, localClient);

components.add(adminDns);
Expand Down

0 comments on commit 7b927fd

Please sign in to comment.