Windows: Fix a longstanding TODO
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
06e92cc2c1
commit
61dad306b1
|
@ -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…
Reference in New Issue