Skip to content

Commit f5b9991

Browse files
committed
merge branch 'pr-1945'
Fix some typos LGTMs: @crosbymichael @cyphar Closes #1945
2 parents 859f745 + 769d6c4 commit f5b9991

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

libcontainer/cgroups/utils.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ func WriteCgroupProc(dir string, pid int) error {
463463
return fmt.Errorf("no such directory for %s", CgroupProcesses)
464464
}
465465

466-
// Dont attach any pid to the cgroup if -1 is specified as a pid
466+
// Don't attach any pid to the cgroup if -1 is specified as a pid
467467
if pid != -1 {
468468
if err := ioutil.WriteFile(filepath.Join(dir, CgroupProcesses), []byte(strconv.Itoa(pid)), 0700); err != nil {
469469
return fmt.Errorf("failed to write %v to %v: %v", pid, CgroupProcesses, err)

libcontainer/intelrdt/intelrdt.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ func WriteIntelRdtTasks(dir string, pid int) error {
486486
return fmt.Errorf("no such directory for %s", IntelRdtTasks)
487487
}
488488

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

man/runc-pause.8.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ paused.
99

1010
# DESCRIPTION
1111
The pause command suspends all processes in the instance of the container.
12-
Use runc list to identiy instances of containers and their current status.
12+
Use runc list to identify instances of containers and their current status.

man/runc-resume.8.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ resumed.
99

1010
# DESCRIPTION
1111
The resume command resumes all processes in the instance of the container.
12-
Use runc list to identiy instances of containers and their current status.
12+
Use runc list to identify instances of containers and their current status.

pause.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Where "<container-id>" is the name for the instance of the container to be
1616
paused. `,
1717
Description: `The pause command suspends all processes in the instance of the container.
1818
19-
Use runc list to identiy instances of containers and their current status.`,
19+
Use runc list to identify instances of containers and their current status.`,
2020
Action: func(context *cli.Context) error {
2121
if err := checkArgs(context, 1, exactArgs); err != nil {
2222
return err
@@ -45,7 +45,7 @@ Where "<container-id>" is the name for the instance of the container to be
4545
resumed.`,
4646
Description: `The resume command resumes all processes in the instance of the container.
4747
48-
Use runc list to identiy instances of containers and their current status.`,
48+
Use runc list to identify instances of containers and their current status.`,
4949
Action: func(context *cli.Context) error {
5050
if err := checkArgs(context, 1, exactArgs); err != nil {
5151
return err

0 commit comments

Comments
 (0)