diff options
| author | Steve Martinelli <stevemar@ca.ibm.com> | 2015-09-21 15:13:48 -0400 |
|---|---|---|
| committer | Steve Martinelli <stevemar@ca.ibm.com> | 2015-09-21 15:18:36 -0400 |
| commit | e0e9b2bfaee72a8b7c0619faefc86f1bbcdf7414 (patch) | |
| tree | 3fce3e6d61492fbbbc8a5529541d97c0c13cf988 /openstackclient/image/v2 | |
| parent | 0857da76d9bfc30430f7de58a8c508c169a35843 (diff) | |
| download | python-openstackclient-e0e9b2bfaee72a8b7c0619faefc86f1bbcdf7414.tar.gz | |
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
Diffstat (limited to 'openstackclient/image/v2')
| -rw-r--r-- | openstackclient/image/v2/image.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/image/v2/image.py b/openstackclient/image/v2/image.py index 4c019db6..058f7f2d 100644 --- a/openstackclient/image/v2/image.py +++ b/openstackclient/image/v2/image.py @@ -229,7 +229,7 @@ class ListImage(lister.Lister): s, columns, formatters={ - 'tags': utils.format_dict, + 'tags': utils.format_list, }, ) for s in data) ) |
