You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "Glyph Lefkowitz (JIRA)" <ji...@apache.org> on 2018/04/19 05:51:00 UTC
[jira] [Created] (LIBCLOUD-994) traceback when listing records in
an empty zone on cloudflare
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)