diff options
author | FuXiaoHei <fuxiaohei@vip.qq.com> | 2023-12-21 15:04:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-21 07:04:50 +0000 |
commit | fe5a61639237138d6bb87cde17aedca3eb5bdd12 (patch) | |
tree | c42263e88d4ac1d2c5fca048d7cbe1c325ababd0 /modules/setting | |
parent | caceb43313a586842e208249b2c67f90d4bf7139 (diff) | |
download | gitea-fe5a61639237138d6bb87cde17aedca3eb5bdd12.tar.gz gitea-fe5a61639237138d6bb87cde17aedca3eb5bdd12.zip |
Fix merging artifact chunks error when minio storage basepath is set (#28555)
Related to https://github.com/go-gitea/gitea/issues/28279
When merging artifact chunks, it lists chunks from storage. When storage
is minio, chunk's path contains `MINIO_BASE_PATH` that makes merging
break.
<del>So trim the `MINIO_BASE_PATH` when handle chunks.</del>
Update the chunk file's basename to retain necessary information. It
ensures that the directory in the chunk's path remains unaffected.
Diffstat (limited to 'modules/setting')
0 files changed, 0 insertions, 0 deletions