From: Tom Clegg Date: Mon, 16 May 2022 03:44:40 +0000 (-0400) Subject: 19099: Fix typos. X-Git-Tag: 2.5.0~163^2~3 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/7285b2204d2650179782981dea2af454e607fd7f 19099: Fix typos. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- diff --git a/lib/crunchrun/singularity.go b/lib/crunchrun/singularity.go index f154728c70..2d8962e96a 100644 --- a/lib/crunchrun/singularity.go +++ b/lib/crunchrun/singularity.go @@ -281,7 +281,7 @@ func (e *singularityExecutor) execCmd(path string) *exec.Cmd { for _, path := range binds { mount := e.spec.BindMounts[path] if path == e.spec.Env["HOME"] { - // Singularity treates $HOME as special case + // Singularity treats $HOME as special case args = append(args, "--home", mount.HostPath+":"+path) } else { args = append(args, "--bind", mount.HostPath+":"+path+":"+readonlyflag[mount.ReadOnly]) @@ -295,8 +295,8 @@ func (e *singularityExecutor) execCmd(path string) *exec.Cmd { env := make([]string, 0, len(e.spec.Env)) for k, v := range e.spec.Env { if k == "HOME" { - // Singularity treates $HOME as special case, this is handled - // with --home above + // Singularity treats $HOME as special case, + // this is handled with --home above continue } env = append(env, "SINGULARITYENV_"+k+"="+v)