mirror of
https://github.com/joohoi/acme-dns.git
synced 2024-12-22 22:33:45 +07:00
Fixed a typo
This commit is contained in:
parent
6a22631c4f
commit
c7f7e6cca8
@ -28,7 +28,7 @@ func (r *resolver) lookup(host string, qtype uint16) ([]dns.RR, error) {
|
||||
return []dns.RR{}, fmt.Errorf("Error querying the server [%v]", err)
|
||||
}
|
||||
if in != nil && in.Rcode != dns.RcodeSuccess {
|
||||
return []dns.RR{}, fmt.Errorf("Recieved error from the server [%s]", dns.RcodeToString[in.Rcode])
|
||||
return []dns.RR{}, fmt.Errorf("Received error from the server [%s]", dns.RcodeToString[in.Rcode])
|
||||
}
|
||||
|
||||
return in.Answer, nil
|
||||
|
Loading…
Reference in New Issue
Block a user