Use correct domain to find project
When adding a role to a group and project OSC is mistakenly using the group_domain to find the project which will fail if the group_domain != project_domain. Change-Id: I4c1bec9b3b183c755be121b91f40e026d707192b Closes-Bug: #1483520
This commit is contained in:
parent
48531e04b8
commit
0cc1e5aa2b
@ -101,7 +101,7 @@ def _process_identity_and_resource_options(parsed_args,
|
|||||||
kwargs['project'] = common.find_project(
|
kwargs['project'] = common.find_project(
|
||||||
identity_client_manager,
|
identity_client_manager,
|
||||||
parsed_args.project,
|
parsed_args.project,
|
||||||
parsed_args.group_domain,
|
parsed_args.project_domain,
|
||||||
).id
|
).id
|
||||||
kwargs['os_inherit_extension_inherited'] = parsed_args.inherited
|
kwargs['os_inherit_extension_inherited'] = parsed_args.inherited
|
||||||
return kwargs
|
return kwargs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user