cloudstack: fix typo in variable, fixes get_domain()

This commit is contained in:
Rene Moser 2015-05-08 16:41:15 +02:00
parent bc4d51a4fd
commit 62ccc1b9b6

View file

@ -288,7 +288,7 @@ class AnsibleCloudStack:
args = {}
args['name'] = domain
args['listall'] = True
domain = self.cs.listDomains(**args)
domains = self.cs.listDomains(**args)
if domains:
self.domain = domains['domain'][0]
return self._get_by_key(key, self.domain)