Skip to content

Commit 226fc6c

Browse files
Jamie LennoxSteve Martinelli
authored andcommitted
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
1 parent dff006c commit 226fc6c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎openstackclient/identity/v3/credential.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,10 @@ class ListCredential(lister.Lister):
105105

106106
def take_action(self, parsed_args):
107107
self.log.debug('take_action(%s)', parsed_args)
108-
columns = ('ID', 'Type', 'User ID', 'Data', 'Project ID')
108+
columns = ('ID', 'Type', 'User ID', 'Blob', 'Project ID')
109+
column_headers = ('ID', 'Type', 'User ID', 'Data', 'Project ID')
109110
data = self.app.client_manager.identity.credentials.list()
110-
return (columns,
111+
return (column_headers,
111112
(utils.get_item_properties(
112113
s, columns,
113114
formatters={},

0 commit comments

Comments
 (0)