fix(ci): small fixups to checksum_checker.sh (#2776)

Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
Ettore Di Giacinto 2024-07-11 22:59:52 +02:00 committed by GitHub
parent dcbdc12cc9
commit 664b2e352b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ function check_and_update_checksum() {
new_checksum=$(python3 ./check_and_update.py $uri)
result=$?
if [[ result -eq 5]]; then
if [[ $result -eq 5 ]]; then
echo "Contaminated entry detected, deleting entry for $model_name..."
yq eval -i "del([$idx])" "$input_yaml"
return