libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LIBCLOUD-650) Route53 ex_create_multi_value_record only returns one record
Date Sat, 17 Jan 2015 10:24:34 GMT

    [ https://issues.apache.org/jira/browse/LIBCLOUD-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14281271#comment-14281271
] 

ASF subversion and git services commented on LIBCLOUD-650:
----------------------------------------------------------

Commit eb36e62772de9d2becbd9a9013595c0f7f96ecd0 in libcloud's branch refs/heads/trunk from
[~Itxaka]
[ https://git-wip-us.apache.org/repos/asf?p=libcloud.git;h=eb36e62 ]

Fixes LIBCLOUD-650: ex_create_multi_value_record only returns one record (route53 driver),
adds tests for that function.

Signed-off-by: Tomaz Muraus <tomaz@apache.org>


> 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
>              Labels: bug, dns, newbie, test
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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)

Mime
View raw message