Browse Source

Resolve deprecated INI conversion (#9525)

Per 8fe474341f/deprecated.go (L24)
lunny/display_deleted_branch2
techknowlogick 3 years ago
committed by GitHub
parent
commit
10455a88dc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      contrib/environment-to-ini/environment-to-ini.go

2
contrib/environment-to-ini/environment-to-ini.go

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

Loading…
Cancel
Save