mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
Fix error case in what-is-deployed script
This commit is contained in:
parent
cc1325d6f9
commit
6d3bd495fc
@ -24,7 +24,9 @@ job_image_ids=$(
|
|||||||
kubectl \
|
kubectl \
|
||||||
--namespace=${environment} \
|
--namespace=${environment} \
|
||||||
get jobs \
|
get jobs \
|
||||||
-o 'jsonpath={range .items[0:5]}{.spec.template.spec.containers[0].image}{"\n"}{end}'
|
-o 'jsonpath={range .items[0:5]}{.spec.template.spec.containers[0].image}{"\n"}{end}' \
|
||||||
|
2> /dev/null \
|
||||||
|
|| true
|
||||||
)
|
)
|
||||||
|
|
||||||
echo "Deployed image version:"
|
echo "Deployed image version:"
|
||||||
|
Loading…
Reference in New Issue
Block a user