From 5429e50cc262ecf5db238d3d7dad5820ad20da57 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Sun, 19 Apr 2020 15:08:06 +0200 Subject: [PATCH] fix: some typos. (#1116) --- docs/content/dns/zz_gen_gcloud.md | 2 +- docs/content/dns/zz_gen_liquidweb.md | 2 +- providers/dns/gcloud/gcloud.toml | 2 +- providers/dns/liquidweb/liquidweb.toml | 2 +- providers/dns/namedotcom/namedotcom.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/content/dns/zz_gen_gcloud.md b/docs/content/dns/zz_gen_gcloud.md index 98ee4fbb..9fce2dc6 100644 --- a/docs/content/dns/zz_gen_gcloud.md +++ b/docs/content/dns/zz_gen_gcloud.md @@ -54,7 +54,7 @@ More information [here](/lego/dns/#configuration-and-credentials). ## More information -- [API documentation](https://community.exoscale.com/documentation/dns/api/) +- [API documentation](https://cloud.google.com/dns/api/v1/) - [Go client](https://github.com/googleapis/google-api-go-client) diff --git a/docs/content/dns/zz_gen_liquidweb.md b/docs/content/dns/zz_gen_liquidweb.md index 09ddf2ee..7312595a 100644 --- a/docs/content/dns/zz_gen_liquidweb.md +++ b/docs/content/dns/zz_gen_liquidweb.md @@ -11,7 +11,7 @@ slug: liquidweb Since: v3.1.0 -Configuration for [Liquid Web](https://cart.liquidweb.com/storm/api/docs/v1/). +Configuration for [Liquid Web](https://liquidweb.com). diff --git a/providers/dns/gcloud/gcloud.toml b/providers/dns/gcloud/gcloud.toml index 0c334818..87480325 100644 --- a/providers/dns/gcloud/gcloud.toml +++ b/providers/dns/gcloud/gcloud.toml @@ -18,5 +18,5 @@ Example = '''''' GCE_TTL = "The TTL of the TXT record used for the DNS challenge" [Links] - API = "https://community.exoscale.com/documentation/dns/api/" + API = "https://cloud.google.com/dns/api/v1/" GoClient = "https://github.com/googleapis/google-api-go-client" diff --git a/providers/dns/liquidweb/liquidweb.toml b/providers/dns/liquidweb/liquidweb.toml index 677b5adb..2b7dbcbb 100644 --- a/providers/dns/liquidweb/liquidweb.toml +++ b/providers/dns/liquidweb/liquidweb.toml @@ -1,6 +1,6 @@ Name = "Liquid Web" Description = '''''' -URL = "https://cart.liquidweb.com/storm/api/docs/v1/" +URL = "https://liquidweb.com" Code = "liquidweb" Since = "v3.1.0" diff --git a/providers/dns/namedotcom/namedotcom.go b/providers/dns/namedotcom/namedotcom.go index 68248f8a..58b119d2 100644 --- a/providers/dns/namedotcom/namedotcom.go +++ b/providers/dns/namedotcom/namedotcom.go @@ -110,7 +110,7 @@ func (d *DNSProvider) Present(domain, token, keyAuth string) error { domainDetails, err := d.client.GetDomain(&namecom.GetDomainRequest{DomainName: domain}) if err != nil { - return fmt.Errorf("namedotcom API call failed: %v", err) + return fmt.Errorf("namedotcom API call failed: %w", err) } request := &namecom.Record{