Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix error case in what-is-deployed script

Max Brunsfeld6d3bd495fcd0
diff --git a/script/what-is-deployed b/script/what-is-deployed
index 6df2449b90e..f97e216f4a1 100755
--- a/script/what-is-deployed
+++ b/script/what-is-deployed
@@ -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:"