Commit 06ea0849 authored by tammam.alsoleman's avatar tammam.alsoleman

edit OnElectionAction

parent d7f7ebe6
...@@ -44,7 +44,7 @@ public class OnElectionAction implements OnElectionCallback { ...@@ -44,7 +44,7 @@ public class OnElectionAction implements OnElectionCallback {
// 1. Start the Internal HTTP API (Running on port + 1000) // 1. Start the Internal HTTP API (Running on port + 1000)
int internalApiPort = port + 1000; int internalApiPort = port + 1000;
leaderInternalWebServer = new CoordinatorWebServer(internalApiPort, searchClient, sharedDirectoryPath); leaderInternalWebServer = new CoordinatorWebServer(internalApiPort, searchClient, sharedDirectoryPath, serviceRegistry);
leaderInternalWebServer.startServer(); leaderInternalWebServer.startServer();
// 2. Register the Internal API address in Zookeeper for the Frontend to see // 2. Register the Internal API address in Zookeeper for the Frontend to see
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment