set array to 0
This commit is contained in:
parent
80d10a5df2
commit
b0a4119df0
@ -37,7 +37,7 @@ case "${#containers[@]}" in
|
|||||||
exit
|
exit
|
||||||
;;
|
;;
|
||||||
1)
|
1)
|
||||||
container=$(echo "$search" | grep "${pod_id[*]}" | awk '{print $4}')
|
container=$(echo "$search" | grep "${pod_id[0]}" | awk '{print $4}')
|
||||||
container_id=$(echo "$search" | grep -E "[[:space:]]${container}[[:space:]]" | awk '{print $1}')
|
container_id=$(echo "$search" | grep -E "[[:space:]]${container}[[:space:]]" | awk '{print $1}')
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user