From 3ca6ad5b9e6e37766d26c29f6a99bbd80961473c Mon Sep 17 00:00:00 2001 From: John Howard Date: Sun, 20 Mar 2016 15:59:52 -0700 Subject: [PATCH] Windows: Tidy after libcontainerd Signed-off-by: John Howard --- daemon/oci_windows.go | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/daemon/oci_windows.go b/daemon/oci_windows.go index 2af99dc820..5bf3f82418 100644 --- a/daemon/oci_windows.go +++ b/daemon/oci_windows.go @@ -175,23 +175,6 @@ func (daemon *Daemon) createSpec(c *container.Container) (*libcontainerd.Spec, e //TODO SandboxSize: ..., }, } - - // BUGBUG - Next problem. This was an exec opt. Where do we now get these? - // Come back to this when add Xenon support. - // var hvPartition bool - // // Work out the isolation (whether it is a hypervisor partition) - // if c.HostConfig.Isolation.IsDefault() { - // // Not specified by caller. Take daemon default - // hvPartition = windows.DefaultIsolation.IsHyperV() - // } else { - // // Take value specified by caller - // hvPartition = c.HostConfig.Isolation.IsHyperV() - // } - - // Isolation: string(c.HostConfig.Isolation), - // HvPartition: hvPartition, - // } - return (*libcontainerd.Spec)(&s), nil }