Fix #957 check 763 had us-east-1 region hardcoded

This commit is contained in:
Toni de la Fuente committed 2021-12-09 10:01:34 +01:00
1 parent f98f1f8a1d
commit c241f0008a
1 file changed
+2 -2
+2 -2
View File
@@ -34,9 +34,9 @@ extra763(){
continue
fi
if [[ $(echo "$BUCKET_VERSIONING_ENABLED" | grep "^Enabled$") ]]; then
textPass "Bucket $bucket has versioning enabled" "us-east-1" "$bucket"
textPass "Bucket $bucket has versioning enabled" "$REGION" "$bucket"
else
textFail "Bucket $bucket has versioning disabled!" "us-east-1" "$bucket"
textFail "Bucket $bucket has versioning disabled!" "$REGION" "$bucket"
fi
done
else