Fix instantiation of plugin settings (#23583)

Forgot to instantiate plugin settings in #23451
This commit is contained in:
Marcus Efraimsson 2020-04-15 11:57:44 +02:00 committed by GitHub
parent d721dd13cd
commit 2c36137457
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -988,6 +988,7 @@ func (cfg *Cfg) Load(args *CommandLineArgs) error {
pluginsSection := iniFile.Section("plugins")
cfg.PluginsEnableAlpha = pluginsSection.Key("enable_alpha").MustBool(false)
cfg.PluginsAppsSkipVerifyTLS = pluginsSection.Key("app_tls_skip_verify_insecure").MustBool(false)
cfg.PluginSettings = extractPluginSettings(iniFile.Sections())
// Read and populate feature toggles list
featureTogglesSection := iniFile.Section("feature_toggles")