mirror of https://github.com/docker/docs.git
Merge pull request #14842 from hqhq/hq_remove_rootuid
Remove unused parameter in NewTtyConsole
This commit is contained in:
commit
30b951ff08
|
@ -361,7 +361,7 @@ type TtyConsole struct {
|
||||||
console libcontainer.Console
|
console libcontainer.Console
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewTtyConsole(console libcontainer.Console, pipes *execdriver.Pipes, rootuid int) (*TtyConsole, error) {
|
func NewTtyConsole(console libcontainer.Console, pipes *execdriver.Pipes) (*TtyConsole, error) {
|
||||||
tty := &TtyConsole{
|
tty := &TtyConsole{
|
||||||
console: console,
|
console: console,
|
||||||
}
|
}
|
||||||
|
@ -417,7 +417,7 @@ func setupPipes(container *configs.Config, processConfig *execdriver.ProcessConf
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
term, err = NewTtyConsole(cons, pipes, rootuid)
|
term, err = NewTtyConsole(cons, pipes)
|
||||||
} else {
|
} else {
|
||||||
p.Stdout = pipes.Stdout
|
p.Stdout = pipes.Stdout
|
||||||
p.Stderr = pipes.Stderr
|
p.Stderr = pipes.Stderr
|
||||||
|
|
Loading…
Reference in New Issue