Glyph Lefkowitz created LIBCLOUD-994:
----------------------------------------
Summary: traceback when listing records in an empty zone on
cloudflare
Key: LIBCLOUD-994
URL: https://issues.apache.org/jira/browse/LIBCLOUD-994
Project: Libcloud
Issue Type: Bug
Components: DNS
Reporter: Glyph Lefkowitz
Register for a new cloudflare account, make a new zone, don't put anything into
it, and then try to list its records:
{{ File "libcloud/dns/base.py", line 64, in list_records}}
{{ return self.driver.list_records(zone=self)}}
{{ File "libcloud/dns/base.py", line 236, in list_records}}
{{ return list(self.iterate_records(zone))}}
{{ File "libcloud/dns/drivers/cloudflare.py", line 156, in iterate_records}}
{{ data = resp.object['response']['recs']['objs']}}
{{builtins.KeyError: 'objs'}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)