diff options
author | Matthew Farrellee <matt@redhat.com> | 2014-01-13 16:03:10 -0500 |
---|---|---|
committer | Matthew Farrellee <matt@redhat.com> | 2014-01-13 16:03:10 -0500 |
commit | 3b7d72cf033f7dfcf4da5710bab5897efb164cce (patch) | |
tree | 72ec2760c3bf6b738075a60a307c7fb7f6d00bcb | |
parent | c46753d7f965c2a72fd66729817fa009f5566bce (diff) | |
download | python-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.py | 2 |
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) |