You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2014/01/03 14:36:40 UTC

[1/2] git commit: Issue LIBCLOUD-484: dns driver bug fix - list_records

Updated Branches:
  refs/heads/trunk b7f709f14 -> 039f74206


Issue LIBCLOUD-484: dns driver bug fix - list_records

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


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/a8b3d4bb
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/a8b3d4bb
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/a8b3d4bb

Branch: refs/heads/trunk
Commit: a8b3d4bb2a9447bfcc968d84ca4608f638363961
Parents: b7f709f
Author: Dinesh Bhoopathy <db...@vr.org>
Authored: Thu Jan 2 23:36:40 2014 -0800
Committer: Tomaz Muraus <to...@apache.org>
Committed: Fri Jan 3 13:51:44 2014 +0100

----------------------------------------------------------------------
 libcloud/dns/drivers/hostvirtual.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/a8b3d4bb/libcloud/dns/drivers/hostvirtual.py
----------------------------------------------------------------------
diff --git a/libcloud/dns/drivers/hostvirtual.py b/libcloud/dns/drivers/hostvirtual.py
index 94da737..116d385 100644
--- a/libcloud/dns/drivers/hostvirtual.py
+++ b/libcloud/dns/drivers/hostvirtual.py
@@ -113,10 +113,10 @@ class HostVirtualDNSDriver(DNSDriver):
         return zones
 
     def list_records(self, zone):
-        params = {'zone_id': zone.id}
+        params = {'id': zone.id}
         self.connection.set_context({'resource': 'zone', 'id': zone.id})
         result = self.connection.request(
-            API_ROOT + '/dns/records/', data=json.dumps(params)).object
+            API_ROOT + '/dns/records/', params=params).object
         records = self._to_records(items=result, zone=zone)
         return records
 


[2/2] git commit: Update CHANGES.

Posted by to...@apache.org.
Update CHANGES.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/039f7420
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/039f7420
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/039f7420

Branch: refs/heads/trunk
Commit: 039f742064351d06add3881239a171cbd439c03d
Parents: a8b3d4b
Author: Tomaz Muraus <to...@apache.org>
Authored: Fri Jan 3 14:07:00 2014 +0100
Committer: Tomaz Muraus <to...@apache.org>
Committed: Fri Jan 3 14:07:31 2014 +0100

----------------------------------------------------------------------
 CHANGES | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/039f7420/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 806a807..6d90b4e 100644
--- a/CHANGES
+++ b/CHANGES
@@ -201,6 +201,12 @@ Changes with Apache Libcloud in development
       Reported by  Andrew Udvare.
       [Tomaz Muraus]
 
+    - Fix list_records method in the HostVirtual driver.
+      (LIBCLOUD-484, GITHUB-218)
+
+      Reported by Andrew Udvare.
+      [Dinesh Bhoopathy]
+
 Changes with Apache Libcloud 0.14.0-beta3
 
   *) General