Skip to content

Commit 0ab2dac

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Change method to get the user_id"
2 parents db46666 + 176735f commit 0ab2dac

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

openstackclient/volume/v2/volume.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,9 @@ def _format_attach(attachments):
304304

305305
user_id = None
306306
if parsed_args.user:
307-
user_id = identity_common.find_project(identity_client,
308-
parsed_args.user,
309-
parsed_args.user_domain)
307+
user_id = identity_common.find_user(identity_client,
308+
parsed_args.user,
309+
parsed_args.user_domain)
310310

311311
search_opts = {
312312
'all_tenants': parsed_args.all_projects,

0 commit comments

Comments
 (0)