summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Farrellee <matt@redhat.com>2014-01-13 16:03:10 -0500
committerMatthew Farrellee <matt@redhat.com>2014-01-13 16:03:10 -0500
commit3b7d72cf033f7dfcf4da5710bab5897efb164cce (patch)
tree72ec2760c3bf6b738075a60a307c7fb7f6d00bcb
parentc46753d7f965c2a72fd66729817fa009f5566bce (diff)
downloadpython-saharaclient-3b7d72cf033f7dfcf4da5710bab5897efb164cce.tar.gz
Clean up printing of image details
The metadata is represented elsewhere and is not formatted well, skip it Change-Id: I881a35985862ebbc99128528ca032c0ca993264f
-rw-r--r--savannaclient/api/shell.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/savannaclient/api/shell.py b/savannaclient/api/shell.py
index 6bcbdda..e7c6e26 100644
--- a/savannaclient/api/shell.py
+++ b/savannaclient/api/shell.py
@@ -90,6 +90,8 @@ def do_image_list(cs, args):
def do_image_show(cs, args):
"""Show details of an image."""
image = cs.images.get(args.id)
+ del image._info['metadata']
+ image._info['tags'] = ', '.join(image._info['tags'])
utils.print_dict(image._info)