From 226fc6c80abdea266d15658d31e34baabc3be9ca Mon Sep 17 00:00:00 2001 From: Jamie Lennox Date: Mon, 1 Jun 2015 15:15:20 +1000 Subject: [PATCH] Change Credentials header to Blob from data The payload data of credentials is the unfortunately named blob. Currently when listing credentials the payload is excluded as OSC is looking for a column called data which does not exist. Change-Id: I6fa4579d7ec9ba393ede550191dbd8aa29767bf4 --- openstackclient/identity/v3/credential.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openstackclient/identity/v3/credential.py b/openstackclient/identity/v3/credential.py index 4d688954..dacbc9af 100644 --- a/openstackclient/identity/v3/credential.py +++ b/openstackclient/identity/v3/credential.py @@ -105,9 +105,10 @@ class ListCredential(lister.Lister): def take_action(self, parsed_args): self.log.debug('take_action(%s)', parsed_args) - columns = ('ID', 'Type', 'User ID', 'Data', 'Project ID') + columns = ('ID', 'Type', 'User ID', 'Blob', 'Project ID') + column_headers = ('ID', 'Type', 'User ID', 'Data', 'Project ID') data = self.app.client_manager.identity.credentials.list() - return (columns, + return (column_headers, (utils.get_item_properties( s, columns, formatters={},