mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix incorrect debug message
Signed-off-by: Santhosh Manohar <santhosh@docker.com>
This commit is contained in:
parent
3d0ea58096
commit
46b59b7964
1 changed files with 6 additions and 2 deletions
|
@ -418,8 +418,12 @@ func (r *resolver) ServeDNS(w dns.ResponseWriter, query *dns.Msg) {
|
|||
}
|
||||
|
||||
execErr := r.backend.ExecFunc(extConnect)
|
||||
if execErr != nil || err != nil {
|
||||
logrus.Debugf("Connect failed, %s", err)
|
||||
if execErr != nil {
|
||||
logrus.Warn(execErr)
|
||||
continue
|
||||
}
|
||||
if err != nil {
|
||||
logrus.Warnf("Connect failed: %s", err)
|
||||
continue
|
||||
}
|
||||
logrus.Debugf("Query %s[%d] from %s, forwarding to %s:%s", name, query.Question[0].Qtype,
|
||||
|
|
Loading…
Reference in a new issue