diff options
author | FuXiaoHei <fuxiaohei@vip.qq.com> | 2023-05-14 06:33:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-13 22:33:25 +0000 |
commit | 61ad4c607b09f102151298af98757dbae2c2fa88 (patch) | |
tree | 64067be6a02eba93d947183878c0e86a927bf810 /modules/activitypub | |
parent | 4810fe55e3e73edb962052df46bef125eb1817b3 (diff) | |
download | gitea-61ad4c607b09f102151298af98757dbae2c2fa88.tar.gz gitea-61ad4c607b09f102151298af98757dbae2c2fa88.zip |
fix minio storage iterator path (#24691)
minio storage iterator shows different behavior with local fs iterator.
in local fs storage:
``` go
s.IterateObjects("prefix", func(path,obj)
println(path) // show "prefix/xxx.file"
})
```
in minio storage:
```go
s.IterateObjects("prefix", func(path,obj)
println(path) // show "xxx.file"
})
```
I think local fs is correct, minio use wrong `basePath` to trim storage
path prefix.
---------
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'modules/activitypub')
0 files changed, 0 insertions, 0 deletions