diff --git a/physical/consul.go b/physical/consul.go index c5aacf9ac..30c1afb7b 100644 --- a/physical/consul.go +++ b/physical/consul.go @@ -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 }()