Fix a bug about "openstack server list --user"

Fix the bug to get the right user id.

Change-Id: Ie60a719a40654802772884ff94271b37aa061ac3
Closes-Bug: #1513701
This commit is contained in:
xiexs 2015-11-06 09:16:43 -05:00
parent 8a1fb85dba
commit db46666589

@ -735,7 +735,7 @@ class ListServer(lister.Lister):
user_id = None
if parsed_args.user:
user_id = identity_common.find_project(
user_id = identity_common.find_user(
identity_client,
parsed_args.user,
parsed_args.user_domain,