Fix typo
This commit is contained in:
Xianlu Bird 2016-12-01 15:23:58 +08:00 committed by GitHub
parent 8893fa693b
commit e2e6f58e4e
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ func (c *linuxContainer) newSetnsProcess(p *Process, cmd *exec.Cmd, parentPipe,
if err != nil { if err != nil {
return nil, newSystemErrorWithCause(err, "getting container's current state") return nil, newSystemErrorWithCause(err, "getting container's current state")
} }
// for setns process, we dont have to set cloneflags as the process namespaces // for setns process, we don't have to set cloneflags as the process namespaces
// will only be set via setns syscall // will only be set via setns syscall
data, err := c.bootstrapData(0, state.NamespacePaths, p.consolePath) data, err := c.bootstrapData(0, state.NamespacePaths, p.consolePath)
if err != nil { if err != nil {