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-09 13:23:49 +0000
commit91a2d888625488da3f65ad372b4248e9747b9a3e (patch)
treef2d4eb2616122308765160c5a3703d9f34791bdf /openstackclient/identity
parent4e6f47e28ee09be7dac8848660bf38bdcd02570c (diff)
downloadpython-openstackclient-91a2d888625488da3f65ad372b4248e9747b9a3e.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: 27007 Change-Id: I7340e01f509e3515f07cb46f175fb603f1ce8b67
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):