1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00

Resolve deprecated INI conversion (#9525)

Per 8fe474341f/deprecated.go (L24)
This commit is contained in:
techknowlogick 2019-12-27 22:37:26 -05:00 committed by GitHub
parent 55cd33e124
commit 10455a88dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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") + "__"