[ARVADOS] updated: 2.1.0-1816-g213252bdc
Git user
git at public.arvados.org
Fri Jan 7 23:10:45 UTC 2022
Summary of changes:
lib/crunchrun/docker.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via 213252bdc6ecb17484f5dfca10a8aba875768183 (commit)
from 83864f0f77a37ef8212fd4c3eca268ae9bad4bbb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 213252bdc6ecb17484f5dfca10a8aba875768183
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Fri Jan 7 18:10:29 2022 -0500
12630: Fix usage of string.Split
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/lib/crunchrun/docker.go b/lib/crunchrun/docker.go
index ea9d44821..c20f78bb1 100644
--- a/lib/crunchrun/docker.go
+++ b/lib/crunchrun/docker.go
@@ -112,7 +112,7 @@ func (e *dockerExecutor) config(spec containerSpec) (dockercontainer.Config, doc
// If a resource manager such as slurm or LSF told
// us to select specific devices we need to propagate that.
if strings.HasPrefix(s, "CUDA_VISIBLE_DEVICES=") {
- deviceIds = strings.SplitN(strings.SplitN(s, "=", 2)[1], ",")
+ deviceIds = strings.Split(strings.SplitN(s, "=", 2)[1], ",")
}
}
deviceCount := spec.CUDADeviceCount
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list