X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0f784d657527c998e7cd1d7aee8cbd8f0d75e04a..6d8326a0f1521b0d7c49cd90dc775d409906bc49:/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go?ds=sidebyside diff --git a/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go b/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go index 5129495a06..584db38edf 100644 --- a/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go +++ b/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go @@ -254,6 +254,7 @@ func (disp *Dispatcher) submit(container arvados.Container, crunchRunCommand []s // append() here avoids modifying crunchRunCommand's // underlying array, which is shared with other goroutines. crArgs := append([]string(nil), crunchRunCommand...) + crArgs = append(crArgs, "--runtime-engine="+disp.cluster.Containers.RuntimeEngine) crArgs = append(crArgs, container.UUID) crScript := strings.NewReader(execScript(crArgs))