[ARVADOS] updated: 6316172529659964237c801a6b17130ff334f534
Git user
git at public.curoverse.com
Thu Oct 5 10:40:26 EDT 2017
Summary of changes:
services/crunch-run/crunchrun.go | 3 +++
1 file changed, 3 insertions(+)
via 6316172529659964237c801a6b17130ff334f534 (commit)
from 305490369b502d47607b7ffe790d2c85e9a8db34 (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 6316172529659964237c801a6b17130ff334f534
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Thu Oct 5 10:40:04 2017 -0400
12183: Add comment about purpose of "relocated"
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>
diff --git a/services/crunch-run/crunchrun.go b/services/crunch-run/crunchrun.go
index b387b96..2a40c29 100644
--- a/services/crunch-run/crunchrun.go
+++ b/services/crunch-run/crunchrun.go
@@ -929,6 +929,9 @@ func (runner *ContainerRunner) UploadOutputFile(
return "", infoerr
}
+ // When following symlinks, the source path may need to be logically
+ // relocated to some other path within the output collection. Remove
+ // the relocateFrom prefix and replace it with relocateTo.
relocated := relocateTo + path[len(relocateFrom):]
if info.Mode().IsRegular() {
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list