Add 'kpod load' command

Signed-off-by: umohnani8 <umohnani@redhat.com>
This commit is contained in:
umohnani8 2017-07-12 13:37:16 -04:00
parent 79c5160e5a
commit 412b98be26
10 changed files with 323 additions and 33 deletions

View file

@ -54,14 +54,11 @@ func pullCmd(c *cli.Context) error {
return err
}
allTags := false
if c.IsSet("all-tags") {
allTags = c.Bool("all-tags")
}
allTags := c.Bool("all-tags")
systemContext := common.GetSystemContext("")
err = libkpodimage.PullImage(store, image, allTags, systemContext)
err = libkpodimage.PullImage(store, image, allTags, false, systemContext)
if err != nil {
return errors.Errorf("error pulling image from %q: %v", image, err)
}