From 09a32927570fef21316fb9fcf684975aad7b28e3 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Thu, 15 Nov 2018 22:41:54 +0100 Subject: [PATCH] fix: clouflare error. (#721) --- providers/dns/cloudflare/cloudflare.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/dns/cloudflare/cloudflare.go b/providers/dns/cloudflare/cloudflare.go index 33c2065e..92c4b69f 100644 --- a/providers/dns/cloudflare/cloudflare.go +++ b/providers/dns/cloudflare/cloudflare.go @@ -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) }