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:31:12 +0000
commitcda854c6775bf0a24263f83ee4e350fc43fa7fed (patch)
treeb0a942ba4072cf08d980dd9d8d21e288ba770be7 /openstackclient/identity
parenta12cee60c745b6eabb7c791eafd7c9adad0a916e (diff)
downloadpython-openstackclient-cda854c6775bf0a24263f83ee4e350fc43fa7fed.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: 27004 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):