fix mis-spelling in clouddns.go (#3166)

This commit is contained in:
AllenZMC 2019-08-21 21:16:00 +08:00 committed by Yong Tang
parent 25632d6a23
commit 27f44f60ee

View file

@ -107,7 +107,7 @@ func (h *CloudDNS) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Ms
return plugin.NextOrFailure(h.Name(), h.Next, ctx, w, r) return plugin.NextOrFailure(h.Name(), h.Next, ctx, w, r)
} }
z, ok := h.zones[zName] // ok true if we are authoritive for the zone z, ok := h.zones[zName] // ok true if we are authoritative for the zone
if !ok || z == nil { if !ok || z == nil {
return dns.RcodeServerFailure, nil return dns.RcodeServerFailure, nil
} }