From 61dad306b12f4d48d3643d9331c059b9cdef731c Mon Sep 17 00:00:00 2001 From: John Howard Date: Fri, 18 Nov 2016 10:20:43 -0800 Subject: [PATCH] Windows: Fix a longstanding TODO Signed-off-by: John Howard --- daemon/oci_windows.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/daemon/oci_windows.go b/daemon/oci_windows.go index 778bb41c95..814084305b 100644 --- a/daemon/oci_windows.go +++ b/daemon/oci_windows.go @@ -18,9 +18,7 @@ func (daemon *Daemon) createSpec(c *container.Container) (*specs.Spec, error) { return nil, err } - // TODO Windows - this can be removed. Not used (UID/GID) - rootUID, rootGID := daemon.GetRemappedUIDGID() - if err := c.SetupWorkingDirectory(rootUID, rootGID); err != nil { + if err := c.SetupWorkingDirectory(0, 0); err != nil { return nil, err }