fix: always set -- on docker run commands internally to avoid parsing flags on specified commands

This commit is contained in:
Jose Diaz-Gonzalez
2024-01-18 21:00:42 -05:00
parent 59f74cbccf
commit 5ffbcf24de
4 changed files with 7 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ fn-run() {
verify_app_name "$APP"
local DOKKU_SCHEDULER=$(get_app_scheduler "$APP")
DOKKU_CRON_ID="$CRON_ID" plugn trigger scheduler-run "$DOKKU_SCHEDULER" "$APP" "${#RUN_ENV[@]}" "${RUN_ENV[@]}" "$@"
DOKKU_CRON_ID="$CRON_ID" plugn trigger scheduler-run "$DOKKU_SCHEDULER" "$APP" "${#RUN_ENV[@]}" "${RUN_ENV[@]}" -- "$@"
}
cmd-run() {