Skip to content

Commit

Permalink
Log reals
Browse files Browse the repository at this point in the history
  • Loading branch information
mpolden committed Jun 25, 2019
1 parent 37bfd5b commit 014cfd3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ private LoadBalancerInstance create(ApplicationId application, ClusterSpec.Id cl
ipAddresses.forEach(ipAddress -> reals.add(new Real(hostname, ipAddress)));
});
log.log(LogLevel.INFO, "Creating load balancer for " + cluster + " in " + application.toShortString() +
", targeting: " + nodes);
", targeting: " + reals);
try {
return service.create(application, cluster, reals);
} catch (Exception e) {
throw new LoadBalancerServiceException("Failed to (re)configure load balancer for " + cluster + " in " +
application + ", targeting: " + nodes + ". The operation will be " +
application + ", targeting: " + reals + ". The operation will be " +
"retried on next deployment", e);
}
}
Expand Down

0 comments on commit 014cfd3

Please sign in to comment.