diff --git a/daemon/oci_linux_test.go b/daemon/oci_linux_test.go index 63464acc45e67ef7c33822045d48174b25b2f596..e08f55767429114998e0a52a0b777030dfc3dfea 100644 --- a/daemon/oci_linux_test.go +++ b/daemon/oci_linux_test.go @@ -33,6 +33,7 @@ func setupFakeDaemon(t *testing.T, c *container.Container) *Daemon { configStore: &config.Config{}, linkIndex: newLinkIndex(), netController: netController, + imageService: &fakeImageService{}, } c.Root = root @@ -51,6 +52,14 @@ func setupFakeDaemon(t *testing.T, c *container.Container) *Daemon { return d } +type fakeImageService struct { + ImageService +} + +func (i *fakeImageService) StorageDriver() string { + return "overlay" +} + func cleanupFakeContainer(c *container.Container) { _ = os.RemoveAll(c.Root) }