forked from TrueCloudLab/lego
fix: clouflare error. (#721)
This commit is contained in:
parent
fac6e4995c
commit
09a3292757
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ func (d *DNSProvider) Present(domain, token, keyAuth string) error {
|
|||
TTL: d.config.TTL,
|
||||
}
|
||||
|
||||
response, _ := d.client.CreateDNSRecord(zoneID, dnsRecord)
|
||||
response, err := d.client.CreateDNSRecord(zoneID, dnsRecord)
|
||||
if err != nil {
|
||||
return fmt.Errorf("cloudflare: failed to create TXT record: %v", err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue