This commit is contained in:
Daniel J Walsh 2017-09-16 09:11:25 +00:00 committed by GitHub
commit 5ebefb075e

View file

@ -49,6 +49,7 @@ func pullCmd(c *cli.Context) error {
if err != nil {
return errors.Wrapf(err, "could not create runtime")
}
defer runtime.Shutdown()
if err := runtime.PullImage(image, c.Bool("all-tags"), os.Stdout); err != nil {
return errors.Errorf("error pulling image from %q: %v", image, err)
}