images: move image package to images
Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
parent
604af9cd46
commit
39da6ff879
10 changed files with 28 additions and 28 deletions
|
@ -20,7 +20,7 @@ import (
|
|||
rootfsapi "github.com/docker/containerd/api/services/rootfs"
|
||||
"github.com/docker/containerd/api/types/container"
|
||||
"github.com/docker/containerd/content"
|
||||
"github.com/docker/containerd/image"
|
||||
"github.com/docker/containerd/images"
|
||||
contentservice "github.com/docker/containerd/services/content"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/tonistiigi/fifo"
|
||||
|
@ -147,7 +147,7 @@ func getDB(ctx *cli.Context, readonly bool) (*bolt.DB, error) {
|
|||
}
|
||||
|
||||
if !readonly {
|
||||
if err := image.InitDB(db); err != nil {
|
||||
if err := images.InitDB(db); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue