Skip to content

Commit

Permalink
Adds logs to verify EurekaHostsSupplier
Browse files Browse the repository at this point in the history
  • Loading branch information
akashdeepgoel committed Apr 25, 2023
1 parent 4dd4303 commit dfda0fc
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ private List<Host> getUpdateFromEureka() {
}
Logger.info("Dyno fetching instance list for app: " + applicationName);
Application app = discoveryClient.getApplication(applicationName);
if (app != null)
Logger.info("Got application instances : " + app.getInstances().size());
else
Logger.info("Got null application");
List<Host> hosts = new ArrayList<Host>();

if (app == null) {
Expand Down

0 comments on commit dfda0fc

Please sign in to comment.