Merge pull request #1366 from hqhq/remove_ExecFifoPath
Remove unused ExecFifoPath
This commit is contained in:
commit
31980a53ae
|
@ -450,7 +450,6 @@ func (c *linuxContainer) newInitConfig(process *Process) *initConfig {
|
||||||
AppArmorProfile: c.config.AppArmorProfile,
|
AppArmorProfile: c.config.AppArmorProfile,
|
||||||
ProcessLabel: c.config.ProcessLabel,
|
ProcessLabel: c.config.ProcessLabel,
|
||||||
Rlimits: c.config.Rlimits,
|
Rlimits: c.config.Rlimits,
|
||||||
ExecFifoPath: filepath.Join(c.root, execFifoFilename),
|
|
||||||
}
|
}
|
||||||
if process.NoNewPrivileges != nil {
|
if process.NoNewPrivileges != nil {
|
||||||
cfg.NoNewPrivileges = *process.NoNewPrivileges
|
cfg.NoNewPrivileges = *process.NoNewPrivileges
|
||||||
|
|
|
@ -59,7 +59,6 @@ type initConfig struct {
|
||||||
PassedFilesCount int `json:"passed_files_count"`
|
PassedFilesCount int `json:"passed_files_count"`
|
||||||
ContainerId string `json:"containerid"`
|
ContainerId string `json:"containerid"`
|
||||||
Rlimits []configs.Rlimit `json:"rlimits"`
|
Rlimits []configs.Rlimit `json:"rlimits"`
|
||||||
ExecFifoPath string `json:"start_pipe_path"`
|
|
||||||
CreateConsole bool `json:"create_console"`
|
CreateConsole bool `json:"create_console"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue