mirror of
https://github.com/LAX18/gitea.git
synced 2026-06-03 14:07:55 -09:00
Resolve deprecated INI conversion (#9525)
Per https://github.com/go-ini/ini/blob/8fe474341f7eedd6804eda75896c8f3e4b5dc36a/deprecated.go#L24
This commit is contained in:
@@ -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") + "__"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user