parent
4a409ebb81
commit
cc64778628
|
@ -313,7 +313,7 @@ func (c *ConsulBackend) RunServiceDiscovery(shutdownCh ShutdownChannel, advertis
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := agent.ServiceDeregister(serviceID); err != nil {
|
if err := agent.ServiceDeregister(serviceID); err != nil {
|
||||||
c.logger.Printf("[WARN]: consul: service deregistration failed: {{err}}", err)
|
c.logger.Printf("[WARN]: consul: service deregistration failed: %v", err)
|
||||||
}
|
}
|
||||||
c.running = false
|
c.running = false
|
||||||
}()
|
}()
|
||||||
|
|
Loading…
Reference in New Issue