Fix logger output

Pointed out by: ryanuber
This commit is contained in:
Sean Chittenden 2016-04-26 15:37:13 -07:00
parent 4a409ebb81
commit cc64778628
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ func (c *ConsulBackend) RunServiceDiscovery(shutdownCh ShutdownChannel, advertis
}
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
}()