mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
b15668b36d
I use the same tool (https://github.com/client9/misspell) as Daniel used a few days ago, don't why he missed these typos at that time. Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
12 lines
368 B
Go
12 lines
368 B
Go
package libcontainer
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
// NewConsole returns an initialized console that can be used within a container by copying bytes
|
|
// from the master side to the slave that is attached as the tty for the container's init process.
|
|
func NewConsole(uid, gid int) (Console, error) {
|
|
return nil, errors.New("libcontainer console is not supported on Solaris")
|
|
}
|