0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 14:24:11 +01: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") + "__"