fix: correct parsing of the --container-id flag for the enter command
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in new issue
Block a user