Move libkpod/image libkpod/layer to libpod/images and libpod/layers
Begin moving image and layer handling out of libkpod into libpod. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
47ef2f66df
commit
e18e962238
26 changed files with 272 additions and 104 deletions
|
@ -2,7 +2,7 @@ package main
|
|||
|
||||
import (
|
||||
"github.com/kubernetes-incubator/cri-o/libkpod/common"
|
||||
libkpodimage "github.com/kubernetes-incubator/cri-o/libkpod/image"
|
||||
"github.com/kubernetes-incubator/cri-o/libpod/images"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/urfave/cli"
|
||||
|
@ -58,7 +58,7 @@ func pullCmd(c *cli.Context) error {
|
|||
|
||||
systemContext := common.GetSystemContext("")
|
||||
|
||||
err = libkpodimage.PullImage(store, image, allTags, false, systemContext)
|
||||
err = images.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