mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
Merge pull request #97959 from carlory/patch-1
set GOOS=linux for the staticcheck tool
This commit is contained in:
commit
bbde53e300
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ while read -r error; do
|
|||
elif [[ "${in_failing}" -eq "0" ]]; then
|
||||
really_failing+=( "$pkg" )
|
||||
fi
|
||||
done < <(staticcheck -checks "${checks}" "${all_packages[@]}" 2>/dev/null || true)
|
||||
done < <(GOOS=linux staticcheck -checks "${checks}" "${all_packages[@]}" 2>/dev/null || true)
|
||||
|
||||
export IFS=$'\n' # Expand ${really_failing[*]} to separate lines
|
||||
kube::util::read-array really_failing < <(sort -u <<<"${really_failing[*]}")
|
||||
|
|
|
|||
Loading…
Reference in a new issue