fix: correct parsing of the --container-id flag for the enter command

This commit is contained in:
Jose Diaz-Gonzalez committed 2025-09-21 19:17:17 -04:00
1 parent 920604039b
commit c7a16fec87
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ cmd-enter-default() {
while [[ $# -gt 0 ]]; do while [[ $# -gt 0 ]]; do
case $1 in case $1 in
--container-id=*) --container-id=*)
local arg=$(printf "%s" "$1" | sed -E 's/(^--cron-id=)//g') local arg=$(printf "%s" "$1" | sed -E 's/(^--container-id=)//g')
CONTAINER_ID="$arg" CONTAINER_ID="$arg"
shift shift
;; ;;
@@ -19,7 +19,7 @@ trigger-scheduler-docker-local-scheduler-enter() {
while [[ $# -gt 0 ]]; do while [[ $# -gt 0 ]]; do
case $1 in case $1 in
--container-id=*) --container-id=*)
local arg=$(printf "%s" "$1" | sed -E 's/(^--cron-id=)//g') local arg=$(printf "%s" "$1" | sed -E 's/(^--container-id=)//g')
CONTAINER_ID="$arg" CONTAINER_ID="$arg"
shift shift
;; ;;