From 10455a88dc28c00f86587266a1ecd736bea63d03 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Fri, 27 Dec 2019 22:37:26 -0500 Subject: [PATCH] Resolve deprecated INI conversion (#9525) Per https://github.com/go-ini/ini/blob/8fe474341f7eedd6804eda75896c8f3e4b5dc36a/deprecated.go#L24 --- contrib/environment-to-ini/environment-to-ini.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/environment-to-ini/environment-to-ini.go b/contrib/environment-to-ini/environment-to-ini.go index d452cb28c4..e9dc383cb4 100644 --- a/contrib/environment-to-ini/environment-to-ini.go +++ b/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") + "__" -- 2.39.5