Commit 189d4d0e authored by Morten Knutsen's avatar Morten Knutsen

Fix bug in accessing v4 and v6 arrays.

parent 8f74f18e
......@@ -335,10 +335,10 @@ class VMMClient(Client):
self._do_request(url, method="PATCH", reqdata=etree.tostring(entry))
def get_vm_addresses(self, stampid, vmid):
return self.get_all_vm_addresses['v4']
return self.get_all_vm_addresses()['v4']
def get_vm_addresses_v6(self, stampid, vmid):
return self.get_all_vm_addresses['v6']
return self.get_all_vm_addresses()['v6']
def get_all_vm_addresses(self, stampid, vmid):
addresses = {'v4': [], 'v6': []}
......
......@@ -8,7 +8,7 @@ requires = [
]
setup(name='scvmm-client-py',
version='0.9',
version='0.10',
description='',
author='',
author_email='',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment