Cleans up an unrelated vet error.

This commit is contained in:
James Phillips 2017-06-02 20:54:33 -07:00
parent b4b5036dfb
commit b0b5df579f
No known key found for this signature in database
GPG Key ID: 77183E682AC5FC11

View File

@ -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)
}
}()
}