diff options
author | Erik Sjölund <erik.sjolund@gmail.com> | 2022-07-11 21:59:32 +0200 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2022-07-26 13:01:03 -0400 |
commit | 557b65e0925ed9f707da60776603a460a77803e9 (patch) | |
tree | 746ee73e94187dd64265d3d6420cf9da5e6353a3 /libpod/oci_conmon_linux.go | |
parent | a363b3a65cc85d65a759b5cc02cadf804c791090 (diff) | |
download | podman-557b65e0925ed9f707da60776603a460a77803e9.tar.gz podman-557b65e0925ed9f707da60776603a460a77803e9.tar.bz2 podman-557b65e0925ed9f707da60776603a460a77803e9.zip |
[CI:DOCS] Improve language. Fix spelling and typos.
* Correct spelling and typos.
* Improve language.
Co-authored-by: Ed Santiago <santiago@redhat.com>
Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
Diffstat (limited to 'libpod/oci_conmon_linux.go')
-rw-r--r-- | libpod/oci_conmon_linux.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/oci_conmon_linux.go b/libpod/oci_conmon_linux.go index 121e750f4..abc579519 100644 --- a/libpod/oci_conmon_linux.go +++ b/libpod/oci_conmon_linux.go @@ -1388,7 +1388,7 @@ func (r *ConmonOCIRuntime) sharedConmonArgs(ctr *Container, cuuid, bundlePath, p } func startCommand(cmd *exec.Cmd, ctr *Container) error { - // Make sure to unset the NOTIFY_SOCKET and reset if afterwards if needed. + // Make sure to unset the NOTIFY_SOCKET and reset it afterwards if needed. switch ctr.config.SdNotifyMode { case define.SdNotifyModeContainer, define.SdNotifyModeIgnore: if ctr.notifySocket != "" { @@ -1667,7 +1667,7 @@ func httpAttachNonTerminalCopy(container *net.UnixConn, http *bufio.ReadWriter, // multiplexing by Conmon). headerLen := uint32(numR - 1) // Practically speaking, we could make this buf[0] - 1, - // but we need to validate it anyways... + // but we need to validate it anyway. switch buf[0] { case AttachPipeStdin: headerBuf = makeHTTPAttachHeader(0, headerLen) |