cloudstack: fix typo in variable, fixes get_domain()
This commit is contained in:
parent
bc4d51a4fd
commit
62ccc1b9b6
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ class AnsibleCloudStack:
|
||||||
args = {}
|
args = {}
|
||||||
args['name'] = domain
|
args['name'] = domain
|
||||||
args['listall'] = True
|
args['listall'] = True
|
||||||
domain = self.cs.listDomains(**args)
|
domains = self.cs.listDomains(**args)
|
||||||
if domains:
|
if domains:
|
||||||
self.domain = domains['domain'][0]
|
self.domain = domains['domain'][0]
|
||||||
return self._get_by_key(key, self.domain)
|
return self._get_by_key(key, self.domain)
|
||||||
|
|
Loading…
Reference in a new issue