Permalink
Browse files

Fix some typos

Signed-off-by: JoeWrightss <zhoulin.xie@daocloud.io>
  • Loading branch information...
JoeWrightss committed Dec 9, 2018
1 parent 859f745 commit 769d6c4a75b92991b0f5fa76586854f106346c88
Showing with 6 additions and 6 deletions.
  1. +1 −1 libcontainer/cgroups/utils.go
  2. +1 −1 libcontainer/intelrdt/intelrdt.go
  3. +1 −1 man/runc-pause.8.md
  4. +1 −1 man/runc-resume.8.md
  5. +2 −2 pause.go
@@ -463,7 +463,7 @@ func WriteCgroupProc(dir string, pid int) error {
return fmt.Errorf("no such directory for %s", CgroupProcesses)
}

// Dont attach any pid to the cgroup if -1 is specified as a pid
// Don't attach any pid to the cgroup if -1 is specified as a pid
if pid != -1 {
if err := ioutil.WriteFile(filepath.Join(dir, CgroupProcesses), []byte(strconv.Itoa(pid)), 0700); err != nil {
return fmt.Errorf("failed to write %v to %v: %v", pid, CgroupProcesses, err)
@@ -486,7 +486,7 @@ func WriteIntelRdtTasks(dir string, pid int) error {
return fmt.Errorf("no such directory for %s", IntelRdtTasks)
}

// Dont attach any pid if -1 is specified as a pid
// Don't attach any pid if -1 is specified as a pid
if pid != -1 {
if err := ioutil.WriteFile(filepath.Join(dir, IntelRdtTasks), []byte(strconv.Itoa(pid)), 0700); err != nil {
return fmt.Errorf("failed to write %v to %v: %v", pid, IntelRdtTasks, err)
@@ -9,4 +9,4 @@ paused.

# DESCRIPTION
The pause command suspends all processes in the instance of the container.
Use runc list to identiy instances of containers and their current status.
Use runc list to identify instances of containers and their current status.
@@ -9,4 +9,4 @@ resumed.

# DESCRIPTION
The resume command resumes all processes in the instance of the container.
Use runc list to identiy instances of containers and their current status.
Use runc list to identify instances of containers and their current status.
@@ -16,7 +16,7 @@ Where "<container-id>" is the name for the instance of the container to be
paused. `,
Description: `The pause command suspends all processes in the instance of the container.
Use runc list to identiy instances of containers and their current status.`,
Use runc list to identify instances of containers and their current status.`,
Action: func(context *cli.Context) error {
if err := checkArgs(context, 1, exactArgs); err != nil {
return err
@@ -45,7 +45,7 @@ Where "<container-id>" is the name for the instance of the container to be
resumed.`,
Description: `The resume command resumes all processes in the instance of the container.
Use runc list to identiy instances of containers and their current status.`,
Use runc list to identify instances of containers and their current status.`,
Action: func(context *cli.Context) error {
if err := checkArgs(context, 1, exactArgs); err != nil {
return err

0 comments on commit 769d6c4

Please sign in to comment.