这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions plugins/run/internal-functions
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ fn-run() {
declare desc="runs command in container"

declare APP=""
local SCHEDULER_ID
local CRON_ID
declare -a RUN_ENV
RUN_ENV=()
while [[ $# -gt 0 ]]; do
case $1 in
--cron-id=*)
local arg=$(printf "%s" "$1" | sed -E 's/(^--cron-id=)//g')
SCHEDULER_ID+=("$arg")
CRON_ID="$arg"
shift
;;
--no-tty)
Expand All @@ -26,7 +26,7 @@ fn-run() {
dokku_log_warn "expected $1 to have an argument"
break
fi
CRON_ID+=("$2")
CRON_ID="$2"
shift 2
;;
-e=* | --env=*)
Expand Down