log consul deregister calls, for consistency with logging of consul register calls

This commit is contained in:
Bill Gray
2016-04-27 13:10:45 -06:00
parent e5780a3508
commit bd50d543ba

View File

@@ -192,6 +192,7 @@ public class ConsulLifecycle extends AbstractDiscoveryLifecycle {
if (ttlScheduler != null) {
ttlScheduler.remove(serviceId);
}
log.info("Deregistering service with consul: {}", serviceId);
client.agentServiceDeregister(serviceId);
}