From aaa703e846f0ef74c430e6ca9e28f573670a5ccd Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 14 Sep 2017 13:46:29 +0000 Subject: [PATCH] kpod pull needs to shutdown the runtime Since kpod is using the new runtime code it needs to call Shutdown, when it is finished to make sure the store is cleaned up. Signed-off-by: Daniel J Walsh --- cmd/kpod/pull.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/kpod/pull.go b/cmd/kpod/pull.go index 69f31def..ba038416 100644 --- a/cmd/kpod/pull.go +++ b/cmd/kpod/pull.go @@ -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) }