leftover string format Signed-off-by: Anthony Shaw <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/53ac187a Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/53ac187a Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/53ac187a Branch: refs/heads/trunk Commit: 53ac187a5f4a83d55bc057ef8891f40f15a6c57d Parents: 0b8007c Author: Anthony Shaw <[email protected]> Authored: Fri Nov 27 15:37:33 2015 +1100 Committer: Anthony Shaw <[email protected]> Committed: Fri Nov 27 17:30:16 2015 +1100 ---------------------------------------------------------------------- libcloud/dns/drivers/godaddy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/53ac187a/libcloud/dns/drivers/godaddy.py ---------------------------------------------------------------------- diff --git a/libcloud/dns/drivers/godaddy.py b/libcloud/dns/drivers/godaddy.py index 65fc33c..80c3345 100644 --- a/libcloud/dns/drivers/godaddy.py +++ b/libcloud/dns/drivers/godaddy.py @@ -223,7 +223,7 @@ class GoDaddyDNSDriver(DNSDriver): """ new_record = self._format_record(name, type, data, extra) self.connection.request( - '/v1/domains/{0}/records' % (record.zone.domain), method='PUT', + '/v1/domains/%s/records' % (record.zone.domain), method='PUT', data=[new_record]) id = '%s:%s' % (name, type) return Record(
