forked from p85947160/gitea
Resolve deprecated INI conversion (#9525)
Per 8fe474341f/deprecated.go (L24)
This commit is contained in:
parent
55cd33e124
commit
10455a88dc
|
@ -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") + "__"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue