forgejo/modules/storage
Giteabot 82e5247a43
Check first if minio bucket exists before trying to create it (#26420) (#26465)
Backport #26420 by @lunny

For some reason, the permission of the client_id and secret may cannot
create bucket, so now we will check whether bucket does exist first and
then try to create a bucket if it doesn't exist.

Try to fix #25984

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 2d1202b32c)
2023-08-21 07:22:19 +02:00
..
helper.go
helper_test.go
local.go
local_test.go
minio.go Check first if minio bucket exists before trying to create it (#26420) (#26465) 2023-08-21 07:22:19 +02:00
minio_test.go [CI] disable minio test, no minio server yet in CI 2023-07-16 23:21:44 +02:00
storage.go
storage_test.go