Merge "Improve style of zun pull"
This commit is contained in:
@@ -18,13 +18,13 @@ def _show_image(image):
|
|||||||
utils.print_dict(image._info)
|
utils.print_dict(image._info)
|
||||||
|
|
||||||
|
|
||||||
@utils.arg('repo',
|
@utils.arg('image',
|
||||||
metavar='<repo>',
|
metavar='<image>',
|
||||||
help='Image repository')
|
help='Name of the image')
|
||||||
def do_pull(cs, args):
|
def do_pull(cs, args):
|
||||||
"""Pull an image."""
|
"""Pull an image."""
|
||||||
opts = {}
|
opts = {}
|
||||||
opts['repo'] = args.repo
|
opts['repo'] = args.image
|
||||||
_show_image(cs.images.create(**opts))
|
_show_image(cs.images.create(**opts))
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user