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)
|
||||
filters['user'] = u['id']
|
||||
if group:
|
||||
g = cloud.get_group(group)
|
||||
g = cloud.get_group(group, domain_id=filters['domain'])
|
||||
if g is None:
|
||||
module.fail_json(msg="Group %s is not valid" % group)
|
||||
filters['group'] = g['id']
|
||||
|
|
Loading…
Reference in a new issue