summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie Lennox <jamielennox@redhat.com>2015-06-01 15:15:20 +1000
committerSteve Martinelli <stevemar@ca.ibm.com>2015-06-02 17:10:48 -0400
commit226fc6c80abdea266d15658d31e34baabc3be9ca (patch)
treed65b21f155cdccf1fc786506568a021f55bc2a46
parentdff006c3f686c63c4197b5ce66261f448e0580db (diff)
downloadpython-openstackclient-226fc6c80abdea266d15658d31e34baabc3be9ca.tar.gz
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
-rw-r--r--openstackclient/identity/v3/credential.py5
1 files 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={},