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 2013/12/30 14:34:04 UTC

[6/6] git commit: Update HostVirtual DNS driver constructor to only take in "key" and other supported arguments. Previously it also took "secret" which it silently ignored.

Update HostVirtual DNS driver constructor to only take in "key" and other
supported arguments. Previously it also took "secret" which it silently
ignored.

Part of LIBCLOUD-483.


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

Branch: refs/heads/trunk
Commit: 662932e8eb3f92312a9a83ca1dfae8f6aabddc9c
Parents: 409f97d
Author: Tomaz Muraus <to...@apache.org>
Authored: Mon Dec 30 14:23:19 2013 +0100
Committer: Tomaz Muraus <to...@apache.org>
Committed: Mon Dec 30 14:25:20 2013 +0100

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/662932e8/libcloud/dns/drivers/hostvirtual.py
----------------------------------------------------------------------
diff --git a/libcloud/dns/drivers/hostvirtual.py b/libcloud/dns/drivers/hostvirtual.py
index c0ac57a..94da737 100644
--- a/libcloud/dns/drivers/hostvirtual.py
+++ b/libcloud/dns/drivers/hostvirtual.py
@@ -70,6 +70,10 @@ class HostVirtualDNSDriver(DNSDriver):
         RecordType.SRV: 'SRV',
     }
 
+    def __init__(self, key, secure=True, host=None, port=None):
+        super(HostVirtualDNSDriver, self).__init__(key=key, secure=secure,
+                                                   host=host, port=port)
+
     def _to_zones(self, items):
         zones = []
         for item in items: