fix iterating over files in hack/verify-generated-swagger-docs.sh

This commit is contained in:
Benjamin Elder 2022-10-19 14:25:58 -07:00
parent 68a4ced74f
commit 49354dc645

View File

@ -70,7 +70,7 @@ ret=0
pushd "${KUBE_ROOT}" > /dev/null 2>&1
# Test for diffs
_output=""
for file in ${TARGET_FILES[*]}; do
for file in "${TARGET_FILES[@]}"; do
_output="${_output}$(diff -Naupr -I 'Auto generated by' "${KUBE_ROOT}/${file}" "${_kubetmp}/${file}")" || ret=1
done