summaryrefslogtreecommitdiff
path: root/openstackclient/identity
diff options
context:
space:
mode:
authorJulie Pichon <jpichon@redhat.com>2018-10-09 11:37:22 +0100
committerJulie Pichon <jpichon@redhat.com>2018-10-15 09:32:31 +0000
commit118cc98b33cfd5918e4cf8821e8cb8052bb57388 (patch)
tree62dacbd91e8ebdf2fd86dc1d9ef2708ae3cc9678 /openstackclient/identity
parent6911296c3090233a7f85a35ea87615bbee950942 (diff)
downloadpython-openstackclient-118cc98b33cfd5918e4cf8821e8cb8052bb57388.tar.gz
Allow endpoint filtering on both project and project-domain
The --project and --project-domain flags are currently mutually exclusive for listing endpoints, however the --project-domain argument is supposed to help with filtering projects with colliding names. They should be allowed together. Story: 2004018 Task: 27006 Change-Id: I7340e01f509e3515f07cb46f175fb603f1ce8b67 (cherry picked from commit 91a2d888625488da3f65ad372b4248e9747b9a3e)
Diffstat (limited to 'openstackclient/identity')
-rw-r--r--openstackclient/identity/v3/endpoint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/identity/v3/endpoint.py b/openstackclient/identity/v3/endpoint.py
index 3229240e..858b5036 100644
--- a/openstackclient/identity/v3/endpoint.py
+++ b/openstackclient/identity/v3/endpoint.py
@@ -199,7 +199,7 @@ class ListEndpoint(command.Lister):
metavar='<project>',
help=_('Project to list filters (name or ID)'),
)
- common.add_project_domain_option_to_parser(list_group)
+ common.add_project_domain_option_to_parser(parser)
return parser
def take_action(self, parsed_args):