gitea/modules/storage
zeripath 172e7ee87f
Fix Storage mapping ()
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 

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