summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorColin Arnott <carnott@snapchat.com>2019-10-15 15:45:39 +0000
committerzeripath <art27@cantab.net>2019-10-15 16:45:39 +0100
commit80655026d2cc8e56223be546a5ed46634eafa059 (patch)
tree3c21a1cdd25b0cafba0d82a243b876ea65a9c3cb /modules
parent9b9b67cd3191099724b2d22661ee9c1872f8aaa1 (diff)
downloadgitea-80655026d2cc8e56223be546a5ed46634eafa059.tar.gz
gitea-80655026d2cc8e56223be546a5ed46634eafa059.zip
upgrade gopkg.in/ini.v1 (#8500)
ini released v1.48.0 and deprecated the ini.AllCapsUnderscore symbol, as such, during the upgrade we migrated to using ini.SnackCase.
Diffstat (limited to 'modules')
-rw-r--r--modules/setting/setting.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 144882976f..afcb943d00 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -519,7 +519,7 @@ func NewContext() {
} else {
log.Warn("Custom config '%s' not found, ignore this if you're running first time", CustomConf)
}
- Cfg.NameMapper = ini.AllCapsUnderscore
+ Cfg.NameMapper = ini.SnackCase
homeDir, err := com.HomeDir()
if err != nil {