Cover errors in registerAdminArnsHandlers (#2059)

To cover errors in registerAdminArnsHandlers
This commit is contained in:
Cesar Celis Hernandez
2022-05-31 15:42:16 -04:00
committed by GitHub
parent b02e649405
commit d956ec65a2
2 changed files with 24 additions and 1 deletions

View File

@@ -1521,7 +1521,7 @@ jobs:
go tool cover -func=all.out | grep total > tmp2
result=`cat tmp2 | awk 'END {print $3}'`
result=${result%\%}
threshold=50.6
threshold=50.7
echo "Result:"
echo "$result%"
if (( $(echo "$result >= $threshold" |bc -l) )); then