Added domain_id param to get_group
This commit is contained in:
parent
6f1ff8eb8e
commit
7872090943
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ def main():
|
||||||
module.fail_json(msg="User %s is not valid" % user)
|
module.fail_json(msg="User %s is not valid" % user)
|
||||||
filters['user'] = u['id']
|
filters['user'] = u['id']
|
||||||
if group:
|
if group:
|
||||||
g = cloud.get_group(group)
|
g = cloud.get_group(group, domain_id=filters['domain'])
|
||||||
if g is None:
|
if g is None:
|
||||||
module.fail_json(msg="Group %s is not valid" % group)
|
module.fail_json(msg="Group %s is not valid" % group)
|
||||||
filters['group'] = g['id']
|
filters['group'] = g['id']
|
||||||
|
|
Loading…
Reference in a new issue