diff options
| author | Jose Castro Leon <jose.castro.leon@cern.ch> | 2019-03-14 12:33:51 +0000 |
|---|---|---|
| committer | Marc GariƩpy (mgariepy) <gariepy.marc@gmail.com> | 2019-06-27 18:36:16 +0000 |
| commit | fd3a94d16be8e7806ff4f3aa7417d8a0d36375fb (patch) | |
| tree | e7c59018a053241c3b3a7126d0930605e71e1d47 /openstackclient/identity/v3 | |
| parent | b507f605e46b2df3253de528ff8551ee5706689d (diff) | |
| download | python-openstackclient-fd3a94d16be8e7806ff4f3aa7417d8a0d36375fb.tar.gz | |
Fix bug in endpoint group deletion
There is a typo in the endpoint group deletion, due to this you
can't remove endpoint groups once assigned. I am adding also the
unit tests to avoid this kind of issues in the future
Task: 30640
Story: 2005521
Change-Id: Ie938f2c9894bb39b4c0ed1f7aa3a6a751a303058
(cherry picked from commit 04e03b2a1fe34046e2148d3c1d17b9053010c8af)
Diffstat (limited to 'openstackclient/identity/v3')
| -rw-r--r-- | openstackclient/identity/v3/endpoint_group.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openstackclient/identity/v3/endpoint_group.py b/openstackclient/identity/v3/endpoint_group.py index e254973b..66bd164d 100644 --- a/openstackclient/identity/v3/endpoint_group.py +++ b/openstackclient/identity/v3/endpoint_group.py @@ -204,11 +204,11 @@ class ListEndpointGroup(command.Lister): if endpointgroup: # List projects associated to the endpoint group - columns = ('ID', 'Name') + columns = ('ID', 'Name', 'Description') data = client.endpoint_filter.list_projects_for_endpoint_group( endpoint_group=endpointgroup.id) elif project: - columns = ('ID', 'Name') + columns = ('ID', 'Name', 'Description') data = client.endpoint_filter.list_endpoint_groups_for_project( project=project.id) else: @@ -251,7 +251,7 @@ class RemoveProjectFromEndpointGroup(command.Command): parsed_args.project, parsed_args.project_domain) - client.endpoint_filter.delete_endpoint_group_to_project( + client.endpoint_filter.delete_endpoint_group_from_project( endpoint_group=endpointgroup.id, project=project.id) |
