1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-17 15:44:25 +00:00
gitea/.github/workflows
FuXiaoHei 61ad4c607b
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>
2023-05-13 22:33:25 +00:00
..
cron-licenses.yml GitHub Actions cleanups (#24620) 2023-05-11 21:21:28 -04:00
cron-lock.yml GitHub Actions cleanups (#24620) 2023-05-11 21:21:28 -04:00
cron-translations.yml GitHub Actions cleanups (#24620) 2023-05-11 21:21:28 -04:00
publish-docs.yml GitHub Actions cleanups (#24620) 2023-05-11 21:21:28 -04:00
pull-compliance-docs.yml GitHub Actions cleanups (#24620) 2023-05-11 21:21:28 -04:00
pull-compliance.yml GitHub Actions cleanups (#24620) 2023-05-11 21:21:28 -04:00
pull-db-tests.yml fix minio storage iterator path (#24691) 2023-05-13 22:33:25 +00:00
pull-docker-dryrun.yml GitHub Actions cleanups (#24620) 2023-05-11 21:21:28 -04:00
pull-e2e-tests.yml GitHub Actions cleanups (#24620) 2023-05-11 21:21:28 -04:00