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:
1 parent
fabb18c55c
commit
ed190527ce
12 files changed
+31
-20
No files matched your search
@@ -9,7 +9,7 @@ scheduler-docker-local-core-post-deploy() {
|
||||
declare APP="$1";
|
||||
local APP_ROOT="$DOKKU_ROOT/$APP"
|
||||
|
||||
local DOKKU_SCHEDULER=$(config_get "$APP" DOKKU_SCHEDULER || echo "docker-local")
|
||||
local DOKKU_SCHEDULER=$(get_app_scheduler "$APP")
|
||||
if [[ "$DOKKU_SCHEDULER" != "docker-local" ]]; then
|
||||
return
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user