c2baacc0a4
Before this fix, if uploading to a union consisting of all bucket based remotes (eg s3), uploads failed with: Failed to copy: object not found This was because the union backend was relying on parent directories being created to work out which files to upload. If all the upstreams were bucket based backends which can't hold empty directories, no directories were created and the upload failed. This fixes the problem by returning the upstreams used when creating the directory for the upload, rather than searching for them again after they've been created. This will also make the union backend a little more efficient. Fixes #6170 |
||
---|---|---|
.. | ||
policy | ||
upstream | ||
entry.go | ||
errors.go | ||
union.go | ||
union_internal_test.go | ||
union_test.go |