mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
fix: use correct key for migrating global scheduler configuration on upgrade
This commit is contained in:
committed by
GitHub
parent
ab51247e3a
commit
69e79b227d
@@ -36,7 +36,7 @@ func TriggerInstall() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
globalScheduler := config.GetWithDefault("--scheduler", "DOKKU_SCHEDULER", "")
|
||||
globalScheduler := config.GetWithDefault("--global", "DOKKU_SCHEDULER", "")
|
||||
if globalScheduler != "" {
|
||||
common.LogVerboseQuiet(fmt.Sprintf("Setting scheduler property 'selected' to %v", globalScheduler))
|
||||
if err := common.PropertyWrite("scheduler", "--global", "selected", globalScheduler); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user