Fix build because of imports in package

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2016-12-01 10:47:47 -08:00
parent 2ead05e6f1
commit c2a57e2b00
8 changed files with 26 additions and 398 deletions

View file

@ -8,7 +8,7 @@ import (
"path/filepath"
"strings"
"github.com/docker/containerkit"
"github.com/docker/containerd"
)
var (
@ -146,7 +146,7 @@ func NewManager(root string) (*Manager, error) {
//
// Once the writes have completed, Manager.Commit or
// Manager.Rollback should be called on dst.
func (lm *Manager) Prepare(dst, parent string) ([]containerkit.Mount, error) {
func (lm *Manager) Prepare(dst, parent string) ([]containerd.Mount, error) {
// we want to build up lowerdir, upperdir and workdir options for the
// overlay mount.
//
@ -194,7 +194,7 @@ func (lm *Manager) Prepare(dst, parent string) ([]containerkit.Mount, error) {
opts = append(opts, "lowerdir="+strings.Join(parents, ","))
return []Mount{
return []containerd.Mount{
{
Type: "overlay",
Source: "none",