Merge pull request #28594 from Microsoft/jjh/fixtodo

Windows: Fix a longstanding TODO
Upstream-commit: b567e8777d585819bad7513e7d219f9c837825bf
Component: engine
This commit is contained in:
Brian Goff
2016-12-21 15:46:00 -05:00
committed by GitHub

View File

@ -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
}