Merge "Support listing users by group name"

This commit is contained in:
Jenkins 2015-09-19 01:49:54 +00:00 committed by Gerrit Code Review
commit 0116f3abc6

View File

@ -214,13 +214,11 @@ class ListUser(lister.Lister):
domain = common.find_domain(identity_client,
parsed_args.domain).id
if parsed_args.group:
group = utils.find_resource(
identity_client.groups,
parsed_args.group,
).id
else:
group = None
if parsed_args.group:
group = common.find_group(identity_client,
parsed_args.group,
parsed_args.domain).id
if parsed_args.project:
if domain is not None: