1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-08-23 21:24:20 -04:00
gitea/modules/setting
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>
2020-10-25 17:19:06 +00:00
..
attachment.go
cache.go
cors.go
cron_test.go
cron.go
database_sqlite.go
database_test.go
database.go
git.go
indexer_test.go
indexer.go
lfs.go
log.go
mailer.go
markup.go
migrations.go
picture.go
project.go
queue.go
repository.go
service.go
session.go
setting.go
storage.go Fix Storage mapping (#13297) 2020-10-25 17:19:06 +00:00
task.go
webhook.go