Update run-correctness.sh

This commit is contained in:
Dustin Brown
2024-01-10 13:50:28 -08:00
committed by GitHub
parent 5fbec72f8a
commit 6bdb53871c

View File

@@ -92,7 +92,7 @@ source \
"$issuenumber" > job.json
# delete existing job with same name if this is a regressions job
if [ -z "$is_regressions" ]; then
if [ -n "$is_regressions" ]; then
out=$(KUBECONFIG="$KUBECONFIG" kubectl delete job/"$jobname" -n sql-correctness || true)
echo "Delete regressions job if exists: $out"
fi