Skip to content

Commit e0e9b2b

Browse files
author
Steve Martinelli
committed
Use format_list instead of format_dict when listing images
This currently breaks listing images with --long. Tags are an array and shouldn't be formatted as a dictionary. Change-Id: I6d1d85351b58ae4824498774673ebdc8eaa7e420 Closes-Bug: #1498150
1 parent 0857da7 commit e0e9b2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openstackclient/image/v2/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def take_action(self, parsed_args):
229229
s,
230230
columns,
231231
formatters={
232-
'tags': utils.format_dict,
232+
'tags': utils.format_list,
233233
},
234234
) for s in data)
235235
)

0 commit comments

Comments
 (0)