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
zeripath 172e7ee87f
Fix Storage mapping (#13297)
This PR fixes several bugs in setting storage

* The default STORAGE_TYPE should be the provided type.
* The Storage config should be passed in to NewStorage as a pointer - otherwise the Mappable interface function MapTo will not be found
* There was a bug in the MapTo function.

Fix #13286

Signed-off-by: Andrew Thornton <art27@cantab.net>
4 years ago
..
helper.go Provide self-registering storage system (#12978) 4 years ago
local.go Prevent panics with missing storage (#13164) 4 years ago
minio.go When handling errors in storageHandler check underlying error (#13178) 4 years ago
storage.go Fix Storage mapping (#13297) 4 years ago