forked from gitea/gitea
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ func runEnvironmentToIni(c *cli.Context) error {
} else { } else {
log.Warn("Custom config '%s' not found, ignore this if you're running first time", setting.CustomConf) 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") + "__" prefix := c.String("prefix") + "__"