mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
Fix error case in what-is-deployed script
This commit is contained in:
parent
cc1325d6f9
commit
6d3bd495fc
1 changed files with 3 additions and 1 deletions
|
@ -24,7 +24,9 @@ job_image_ids=$(
|
|||
kubectl \
|
||||
--namespace=${environment} \
|
||||
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:"
|
||||
|
|
Loading…
Reference in a new issue