Add 'kpod load' command
Signed-off-by: umohnani8 <umohnani@redhat.com>
This commit is contained in:
parent
79c5160e5a
commit
412b98be26
10 changed files with 323 additions and 33 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue