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:
commit
b567e8777d
1 changed files with 1 additions and 3 deletions
|
@ -18,9 +18,7 @@ func (daemon *Daemon) createSpec(c *container.Container) (*specs.Spec, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO Windows - this can be removed. Not used (UID/GID)
|
if err := c.SetupWorkingDirectory(0, 0); err != nil {
|
||||||
rootUID, rootGID := daemon.GetRemappedUIDGID()
|
|
||||||
if err := c.SetupWorkingDirectory(rootUID, rootGID); err != nil {
|
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue