Skip to content

Commit

Permalink
fix(ci): small fixups to checksum_checker.sh (#2776)
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
  • Loading branch information
mudler authored Jul 11, 2024
1 parent dcbdc12 commit 664b2e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/checksum_checker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 664b2e3

Please sign in to comment.