feat: allow overriding the scheduler globally
Being able to override globally is useful for cases where a user will _always_ want their applications to be globally distributed
This commit is contained in:
@@ -26,7 +26,7 @@ fn-logs-failed-single() {
|
||||
local DOKKU_SCHEDULER
|
||||
|
||||
dokku_log_info2_quiet "${APP} failed deploy logs"
|
||||
DOKKU_SCHEDULER=$(config_get "$APP" DOKKU_SCHEDULER || echo "docker-local")
|
||||
DOKKU_SCHEDULER=$(get_app_scheduler "$APP")
|
||||
plugn trigger scheduler-logs-failed "$DOKKU_SCHEDULER" "$APP"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user