Remove nsinit from comments

Signed-off-by: Zefan Li <lizefan@huawei.com>
This commit is contained in:
Zefan Li 2015-06-24 11:29:50 +08:00
parent dc185c6e67
commit cbf3d12cb3
2 changed files with 2 additions and 2 deletions

2
tty.go
View File

@ -18,7 +18,7 @@ func newTty(create bool, p *libcontainer.Process, rootuid int) (*tty, error) {
return createStdioPipes(p)
}
// setup standard pipes so that the TTY of the calling nsinit process
// setup standard pipes so that the TTY of the calling runc process
// is not inherited by the container.
func createStdioPipes(p *libcontainer.Process) (*tty, error) {
t := &tty{}

View File

@ -140,7 +140,7 @@ func fatalf(t string, v ...interface{}) {
}
// getDefaultID returns a string to be used as the container id based on the
// current working directory of the nsinit process. This function panics
// current working directory of the runc process. This function panics
// if the cwd is unable to be found based on a system error.
func getDefaultID() string {
cwd, err := os.Getwd()