Itxaka Serrano created LIBCLOUD-650:
---------------------------------------

             Summary: Route53 ex_create_multi_value_record only returns one 
record
                 Key: LIBCLOUD-650
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-650
             Project: Libcloud
          Issue Type: Bug
          Components: DNS
            Reporter: Itxaka Serrano


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:

{code}
        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
{code}


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




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to