17813: Error out if sif cache collection cannot be created.
[arvados.git] / lib / crunchrun / singularity.go
index 192a624d821edb3e59cc904d7c50dd839a60b7a5..741f542454e470ede35cc6f682c64c8a9b1bbf09 100644 (file)
@@ -114,7 +114,7 @@ func (e *singularityExecutor) checkImageCache(dockerImageID string, container ar
                                },
                        })
                if err != nil {
-                       e.logf("error creating '%v' collection: %s", collectionName, err)
+                       return nil, fmt.Errorf("error creating '%v' collection: %s", collectionName, err)
                }
 
        }