logcheck: check Windows files

This commit is contained in:
zhongjun.li
2021-03-11 17:40:07 +08:00
parent 784df7a37e
commit cbc0d55912
2 changed files with 5 additions and 4 deletions

View File

@@ -52,7 +52,8 @@ done < <(cat "${migrated_packages_file}")
# TODO: Improve concurrancy here
ret=0
for package in "${migrated_packages[@]}"; do
logcheck "$KUBE_ROOT/$package" || ret=$?
GOOS=linux logcheck "$KUBE_ROOT/$package" || ret=$?
GOOS=windows logcheck "$KUBE_ROOT/$package" || ret=$?
done
if [ $ret -eq 0 ]; then