There was an error while loading. Please reload this page.
2 parents db46666 + 176735f commit 0ab2dacCopy full SHA for 0ab2dac
1 file changed
openstackclient/volume/v2/volume.py
@@ -304,9 +304,9 @@ def _format_attach(attachments):
304
305
user_id = None
306
if parsed_args.user:
307
- user_id = identity_common.find_project(identity_client,
308
- parsed_args.user,
309
- parsed_args.user_domain)
+ user_id = identity_common.find_user(identity_client,
+ parsed_args.user,
+ parsed_args.user_domain)
310
311
search_opts = {
312
'all_tenants': parsed_args.all_projects,
0 commit comments