14203: Mkdir failing with os.ErrExist is not a fatal error
authorPeter Amstutz <pamstutz@veritasgenetics.com>
Wed, 12 Sep 2018 19:37:33 +0000 (15:37 -0400)
committerPeter Amstutz <pamstutz@veritasgenetics.com>
Wed, 12 Sep 2018 19:37:33 +0000 (15:37 -0400)
commitb66b029bef5b4b0f54d204318a8928b7a6977219
tree0c5c53b14970abf0293507d37b6770a520549699
parent2b0b06579199967eca3d44d955ad64195d2db3c3
14203: Mkdir failing with os.ErrExist is not a fatal error

Don't fail CaptureOutput and cancel the container if a Mkdir returns
os.ErrExist because a directory already exists.  Fixes bcbio failing
postprocess_variants step.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>
services/crunch-run/copier.go
services/crunch-run/crunchrun.go