summaryrefslogtreecommitdiff
path: root/openstackclient/identity
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2020-11-04 16:16:58 +0000
committerStephen Finucane <sfinucan@redhat.com>2020-12-09 15:17:25 +0000
commitf5b185c35728025ebfd4145c800648b34476b775 (patch)
treeca90e0d63f5535aa20c6a32bb1f7c1a170abd4a7 /openstackclient/identity
parent0edd055f3f2a86a60226c342a617507ab94c5eaa (diff)
downloadpython-openstackclient-f5b185c35728025ebfd4145c800648b34476b775.tar.gz
Make use of comparable 'FormattableColumn' subclasses
This requires fixes found in cliff 3.5.0 [1] and osc-lib 2.3.0 [2]. With these fixes in place, we can remove the icky, still broken 'assertItemEqual' and 'assertListItemEqual' helpers. [1] https://review.opendev.org/761421 [2] https://review.opendev.org/761394 Change-Id: Id6c26b37c3c7d5ec6761361abca57f9219b76838 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'openstackclient/identity')
-rw-r--r--openstackclient/identity/v2_0/catalog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/identity/v2_0/catalog.py b/openstackclient/identity/v2_0/catalog.py
index ccedbf33..05d0e9ae 100644
--- a/openstackclient/identity/v2_0/catalog.py
+++ b/openstackclient/identity/v2_0/catalog.py
@@ -91,7 +91,7 @@ class ShowCatalog(command.ShowOne):
for service in auth_ref.service_catalog.catalog:
if (service.get('name') == parsed_args.service or
service.get('type') == parsed_args.service):
- data = service
+ data = service.copy()
data['endpoints'] = EndpointsColumn(data['endpoints'])
if 'endpoints_links' in data:
data.pop('endpoints_links')