net/dns/resolver: fix test failure

Updates #cleanup

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I0e815a69ee44ca0ff7c0ea0ca3c6904bbf67ed1f
pull/12608/head
Andrew Dunham 5 months ago
parent 27033c6277
commit a475c435ec

@ -889,7 +889,9 @@ func (f *forwarder) forwardWithDestChan(ctx context.Context, query packet, respo
// Attempt to recompile the DNS configuration // Attempt to recompile the DNS configuration
// If we are being asked to forward queries and we have no // If we are being asked to forward queries and we have no
// nameservers, the network is in a bad state. // nameservers, the network is in a bad state.
f.missingUpstreamRecovery() if f.missingUpstreamRecovery != nil {
f.missingUpstreamRecovery()
}
res, err := servfailResponse(query) res, err := servfailResponse(query)
if err != nil { if err != nil {

Loading…
Cancel
Save