Repository: libcloud Updated Branches: refs/heads/trunk c229c80ac -> 654b7c20e
Fix a bug in the GoDaddy DNS driver - host attribute needs to be a hostname and not a URL. Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/a3ba6a47 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/a3ba6a47 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/a3ba6a47 Branch: refs/heads/trunk Commit: a3ba6a4751623224f16175df9175ec06b29cdc1a Parents: c229c80 Author: Tomaz Muraus <[email protected]> Authored: Tue Feb 23 09:47:47 2016 +0100 Committer: Tomaz Muraus <[email protected]> Committed: Tue Feb 23 09:47:47 2016 +0100 ---------------------------------------------------------------------- libcloud/dns/drivers/godaddy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/a3ba6a47/libcloud/dns/drivers/godaddy.py ---------------------------------------------------------------------- diff --git a/libcloud/dns/drivers/godaddy.py b/libcloud/dns/drivers/godaddy.py index 2f45502..6798983 100644 --- a/libcloud/dns/drivers/godaddy.py +++ b/libcloud/dns/drivers/godaddy.py @@ -27,7 +27,7 @@ from libcloud.utils.py3 import httplib from libcloud.dns.types import Provider, RecordType, RecordDoesNotExistError from libcloud.dns.base import DNSDriver, Zone, Record -API_ROOT = 'https://api.godaddy.com/' +API_HOST = 'api.godaddy.com' VALID_RECORD_EXTRA_PARAMS = ['prio', 'ttl'] @@ -68,7 +68,7 @@ class GoDaddyDNSResponse(JsonResponse): class GoDaddyDNSConnection(ConnectionKey): responseCls = GoDaddyDNSResponse - host = API_ROOT + host = API_HOST allow_insecure = False
