Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-994

traceback when listing records in an empty zone on cloudflare

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • DNS
    • None

    Description

      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'

      Attachments

        Activity

          People

            Unassigned Unassigned
            glyph Glyph Lefkowitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: