diff --git a/dyno-contrib/src/main/java/com/netflix/dyno/contrib/EurekaHostsSupplier.java b/dyno-contrib/src/main/java/com/netflix/dyno/contrib/EurekaHostsSupplier.java index 4fe7ce81..169b7dcf 100644 --- a/dyno-contrib/src/main/java/com/netflix/dyno/contrib/EurekaHostsSupplier.java +++ b/dyno-contrib/src/main/java/com/netflix/dyno/contrib/EurekaHostsSupplier.java @@ -79,6 +79,10 @@ private List 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 hosts = new ArrayList(); if (app == null) {