Skip to content

Commit 0cc1e5a

Browse files
Jamie Lennoxgildub
authored andcommitted
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
1 parent 48531e0 commit 0cc1e5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openstackclient/identity/v3/role.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def _process_identity_and_resource_options(parsed_args,
101101
kwargs['project'] = common.find_project(
102102
identity_client_manager,
103103
parsed_args.project,
104-
parsed_args.group_domain,
104+
parsed_args.project_domain,
105105
).id
106106
kwargs['os_inherit_extension_inherited'] = parsed_args.inherited
107107
return kwargs

0 commit comments

Comments
 (0)