aboutsummaryrefslogtreecommitdiff
path: root/libpod/oci_conmon_linux.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-23 17:38:43 +0100
committerGitHub <noreply@github.com>2020-12-23 17:38:43 +0100
commit54b82a175f16f27849e6791f65bf73eccae4701a (patch)
tree063ba11dfe87b045518793cd2a6f1bcfa3926671 /libpod/oci_conmon_linux.go
parent8544bb57fe5e9222509827a7f5aa648516b9cd98 (diff)
parent4fa1fce930f13d71f39b65bad3f46f61d961ab51 (diff)
downloadpodman-54b82a175f16f27849e6791f65bf73eccae4701a.tar.gz
podman-54b82a175f16f27849e6791f65bf73eccae4701a.tar.bz2
podman-54b82a175f16f27849e6791f65bf73eccae4701a.zip
Merge pull request #8787 from jsoref/spelling
Spelling
Diffstat (limited to 'libpod/oci_conmon_linux.go')
-rw-r--r--libpod/oci_conmon_linux.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpod/oci_conmon_linux.go b/libpod/oci_conmon_linux.go
index 7e0a1d457..77c6a2f76 100644
--- a/libpod/oci_conmon_linux.go
+++ b/libpod/oci_conmon_linux.go
@@ -47,7 +47,7 @@ import (
const (
// This is Conmon's STDIO_BUF_SIZE. I don't believe we have access to it
- // directly from the Go cose, so const it here
+ // directly from the Go code, so const it here
bufferSize = conmonConfig.BufSize
)
@@ -1413,7 +1413,7 @@ func startCommandGivenSelinux(cmd *exec.Cmd) error {
}
// moveConmonToCgroupAndSignal gets a container's cgroupParent and moves the conmon process to that cgroup
-// it then signals for conmon to start by sending nonse data down the start fd
+// it then signals for conmon to start by sending nonce data down the start fd
func (r *ConmonOCIRuntime) moveConmonToCgroupAndSignal(ctr *Container, cmd *exec.Cmd, startFd *os.File) error {
mustCreateCgroup := true
@@ -1572,7 +1572,7 @@ func readConmonPipeData(pipe *os.File, ociLog string) (int, error) {
return data, nil
}
-// writeConmonPipeData writes nonse data to a pipe
+// writeConmonPipeData writes nonce data to a pipe
func writeConmonPipeData(pipe *os.File) error {
someData := []byte{0}
_, err := pipe.Write(someData)