Don't require rootfs if not set on container

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2017-05-25 11:17:36 -07:00
parent a2b0824720
commit d0b22290ec
8 changed files with 35 additions and 29 deletions

View File

@@ -3,6 +3,7 @@ package containerd
import "github.com/containerd/containerd/images"
type Image interface {
Name() string
}
var _ = (Image)(&image{})
@@ -12,3 +13,7 @@ type image struct {
i images.Image
}
func (i *image) Name() string {
return i.i.Name
}