diff options
author | Colin Arnott <carnott@snapchat.com> | 2019-10-15 15:45:39 +0000 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-10-15 16:45:39 +0100 |
commit | 80655026d2cc8e56223be546a5ed46634eafa059 (patch) | |
tree | 3c21a1cdd25b0cafba0d82a243b876ea65a9c3cb /modules/setting | |
parent | 9b9b67cd3191099724b2d22661ee9c1872f8aaa1 (diff) | |
download | gitea-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/setting')
-rw-r--r-- | modules/setting/setting.go | 2 |
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 { |