Chore: Fix slug cfg name (#75235)

fix cfg name
This commit is contained in:
Will Browne 2023-09-21 14:59:49 +02:00 committed by GitHub
parent e9e0e321b6
commit de2a107efa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1038,7 +1038,7 @@ func (cfg *Cfg) Load(args CommandLineArgs) error {
Env = valueAsString(iniFile.Section(""), "app_mode", "development")
cfg.Env = Env
cfg.StackID = valueAsString(iniFile.Section("environment"), "stack_id", "")
cfg.Slug = valueAsString(iniFile.Section("environment"), "slug", "")
cfg.Slug = valueAsString(iniFile.Section("environment"), "stack_slug", "")
cfg.ForceMigration = iniFile.Section("").Key("force_migration").MustBool(false)
InstanceName = valueAsString(iniFile.Section(""), "instance_name", "unknown_instance_name")
plugins := valueAsString(iniFile.Section("paths"), "plugins", "")