mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
Cleans up an unrelated vet error.
This commit is contained in:
parent
b4b5036dfb
commit
b0b5df579f
@ -325,7 +325,7 @@ func (a *Agent) listenAndServeDNS() error {
|
||||
|
||||
err := s.ListenAndServe(p.Net, p.Addr, func() { notif <- p })
|
||||
if err != nil && !strings.Contains(err.Error(), "accept") {
|
||||
a.logger.Printf("[ERR] agent: Error starting DNS server %s (%s): ", p.Addr, p.Net, err)
|
||||
a.logger.Printf("[ERR] agent: Error starting DNS server %s (%s): %v", p.Addr, p.Net, err)
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user