diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2022-07-11 21:29:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-11 21:29:41 +0000 |
commit | 151d7584c193a6f92cd54f61d28ad8b0ff0c31b6 (patch) | |
tree | fff83c9c7570b70fe8300cf3bcbe2ca29a6e5a16 /libpod/container_internal_linux.go | |
parent | 810cbf1fb9411f75868b82c1071937374e9d57e4 (diff) | |
parent | 377057b4005a1cad035240a5557368cb2e6232f8 (diff) | |
download | podman-151d7584c193a6f92cd54f61d28ad8b0ff0c31b6.tar.gz podman-151d7584c193a6f92cd54f61d28ad8b0ff0c31b6.tar.bz2 podman-151d7584c193a6f92cd54f61d28ad8b0ff0c31b6.zip |
Merge pull request #14898 from eriksjolund/improve_language_and_fix_spelling_and_typos
[CI:DOCS] Improve language. Fix spelling and typos.
Diffstat (limited to 'libpod/container_internal_linux.go')
-rw-r--r-- | libpod/container_internal_linux.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libpod/container_internal_linux.go b/libpod/container_internal_linux.go index 390e95258..46e525add 100644 --- a/libpod/container_internal_linux.go +++ b/libpod/container_internal_linux.go @@ -184,11 +184,8 @@ func (c *Container) prepare() error { func (c *Container) isWorkDirSymlink(resolvedPath string) bool { // We cannot create workdir since explicit --workdir is // set in config but workdir could also be a symlink. - // If its a symlink lets check if resolved link is present - // on the container or not. - - // If we can resolve symlink and resolved link is present on the container - // then return nil cause its a valid use-case. + // If it's a symlink, check if the resolved target is present in the container. + // If so, that's a valid use case: return nil. maxSymLinks := 0 for { |