1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #28594 from Microsoft/jjh/fixtodo

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

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
}