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

Route53 ex_create_multi_value_record only returns one record

    XMLWordPrintableJSON

Details

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

    Description

      Calling ex_create_multi_value_record on the Route53 driver only returns one Record object but it should return several values.

      On libcloud.dns.driver.route53.py lines 270-276:

              records = []
              for value in values:
                  record = Record(id=id, name=name, type=type, data=value, zone=zone,
                                  driver=self, extra=extra)
                  records.append(record)
      
              return record
      

      It should return records instead.

      Creating a PR for this on github and adding tests to check for correct return values as well.

      This issue was discovered by http://github.com/jvrplmlmn

      Attachments

        Activity

          People

            Unassigned Unassigned
            Itxaka Itxaka Serrano
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified