mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 10:43:17 -04:00
plugin/forward: fix healthchecker crash (#2165)
This commit is contained in:
committed by
Miek Gieben
parent
cbcc38bcb5
commit
298b860a97
@@ -31,6 +31,7 @@ func NewHealthChecker(trans string) HealthChecker {
|
||||
return &dnsHc{c: c}
|
||||
}
|
||||
|
||||
log.Warningf("No healthchecker for transport %q", trans)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user