aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/environment-to-ini/environment-to-ini.go
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2019-12-27 22:37:26 -0500
committerGitHub <noreply@github.com>2019-12-27 22:37:26 -0500
commit10455a88dc28c00f86587266a1ecd736bea63d03 (patch)
treebfb2142eb2d8e5a2adbd2cff493d079ea1a97da0 /contrib/environment-to-ini/environment-to-ini.go
parent55cd33e124e152869fa2f2dc420e6a5be98a3cbe (diff)
downloadgitea-10455a88dc28c00f86587266a1ecd736bea63d03.tar.gz
gitea-10455a88dc28c00f86587266a1ecd736bea63d03.zip
Resolve deprecated INI conversion (#9525)
Per https://github.com/go-ini/ini/blob/8fe474341f7eedd6804eda75896c8f3e4b5dc36a/deprecated.go#L24
Diffstat (limited to 'contrib/environment-to-ini/environment-to-ini.go')
-rw-r--r--contrib/environment-to-ini/environment-to-ini.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/environment-to-ini/environment-to-ini.go b/contrib/environment-to-ini/environment-to-ini.go
index d452cb28c4..e9dc383cb4 100644
--- a/contrib/environment-to-ini/environment-to-ini.go
+++ b/contrib/environment-to-ini/environment-to-ini.go
@@ -104,7 +104,7 @@ func runEnvironmentToIni(c *cli.Context) error {
} else {
log.Warn("Custom config '%s' not found, ignore this if you're running first time", setting.CustomConf)
}
- cfg.NameMapper = ini.AllCapsUnderscore
+ cfg.NameMapper = ini.SnackCase
prefix := c.String("prefix") + "__"