Merge pull request #22 from lizf-os/remove-nsinit-from-comments

Remove nsinit from comments
This commit is contained in:
Alexander Morozov 2015-06-24 09:12:55 -07:00
commit 8ad8d40744
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()