mirror of https://github.com/status-im/consul.git
Fixes a vet error.
This commit is contained in:
parent
34de0b9292
commit
7442039c2d
|
@ -277,7 +277,7 @@ func (d *DNSServer) nameservers(edns bool) (ns []dns.RR, extra []dns.RR) {
|
|||
for name, addr := range d.agent.delegate.ServerAddrs() {
|
||||
host, _, err := net.SplitHostPort(addr)
|
||||
if err != nil {
|
||||
d.logger.Println("[WARN] Unable to parse address %v, got error: %v", addr, err)
|
||||
d.logger.Printf("[WARN] Unable to parse address %v, got error: %v", addr, err)
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue