replace with podid
This commit is contained in:
parent
6f7f18d6a4
commit
d830f7e10c
@ -32,7 +32,7 @@ do
|
|||||||
echo "$search" | grep "$pod" | awk '{print $4}'
|
echo "$search" | grep "$pod" | awk '{print $4}'
|
||||||
done | nl -s ") " | column -t)
|
done | nl -s ") " | column -t)
|
||||||
if [[ "${#pod_id[@]}" == 1 ]]; then
|
if [[ "${#pod_id[@]}" == 1 ]]; then
|
||||||
container_id=$(echo "$search" | grep -E "[[:space:]]${container}[[:space:]]" | awk '{print $1}')
|
container_id=$(echo "$search" | grep -E "[[:space:]]${pod_id[*]}[[:space:]]" | awk '{print $1}')
|
||||||
else
|
else
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user