Merge pull request #272 from liubin/fix-typos

Fix typos
This commit is contained in:
Kenfe-Mickaël Laventure 2016-06-22 07:30:48 -07:00 committed by GitHub
commit 14e79494da
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ import (
"unsafe"
)
// NewConsole returns an initalized console that can be used within a container by copying bytes
// 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) (*os.File, string, error) {
master, err := os.OpenFile("/dev/ptmx", syscall.O_RDWR|syscall.O_NOCTTY|syscall.O_CLOEXEC, 0)

View file

@ -11,7 +11,7 @@ var (
// ErrContainerExited is returned when access to an exited
// container is attempted
ErrContainerExited = errors.New("containerd: container has exited")
// ErrProcessNotExited is returned when trying to retrive the exit
// ErrProcessNotExited is returned when trying to retrieve the exit
// status of an alive process
ErrProcessNotExited = errors.New("containerd: process has not exited")
// ErrContainerNotStarted is returned when a container fails to