We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0949388 commit 0833a9cCopy full SHA for 0833a9c
hack/lib/golang.sh
@@ -496,7 +496,8 @@ kube::golang::outfile_for_binary() {
496
# Returns 0 if the binary can be built with coverage, 1 otherwise.
497
# NB: this ignores whether coverage is globally enabled or not.
498
kube::golang::is_instrumented_package() {
499
- return "$(kube::util::array_contains "$1" "${KUBE_COVERAGE_INSTRUMENTED_PACKAGES[@]}")"
+ kube::util::array_contains "$1" "${KUBE_COVERAGE_INSTRUMENTED_PACKAGES[@]}"
500
+ return $?
501
}
502
503
# Argument: the name of a Kubernetes package (e.g. k8s.io/kubernetes/cmd/kube-scheduler)
0 commit comments