You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/storage
delvh 3d80308b36
Use correct minio error (#26634)
Previously, `err` was defined above, checked for `err == nil` and used
nowhere else.
Hence, the result of `convertMinioErr` would always be `nil`.
This leads to a NPE further down the line.
That is not intentional, it should convert the error of the most recent
operation, not one of its predecessors.

Found through
https://discord.com/channels/322538954119184384/322538954119184384/1143185780206993550.
11 months ago
..
helper.go Fix all possible setting error related storages and added some tests (#23911) 1 year ago
helper_test.go add path prefix to ObjectStorage.Iterator (#23332) 1 year ago
local.go Fix all possible setting error related storages and added some tests (#23911) 1 year ago
local_test.go Fix all possible setting error related storages and added some tests (#23911) 1 year ago
minio.go Use correct minio error (#26634) 11 months ago
minio_test.go Fix all possible setting error related storages and added some tests (#23911) 1 year ago
storage.go Replace `interface{}` with `any` (#25686) 1 year ago
storage_test.go Fix all possible setting error related storages and added some tests (#23911) 1 year ago