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

Route53 ex_create_multi_value_record only returns one record

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: DNS
    • Labels:

      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

            • Assignee:
              Unassigned
              Reporter:
              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