Skip to content

Commit

Permalink
Merge pull request kubernetes#69369 from mikechernev/improve-verify-g…
Browse files Browse the repository at this point in the history
…olint

Make the golint verify script MacOS compatible
  • Loading branch information
k8s-ci-robot authored Oct 23, 2018
2 parents 2f9b651 + a348172 commit 199cd1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/verify-golint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export IFS=$'\n'
# as the prefix, however if we run it outside it returns the full path of the file
# with a leading underscore. We'll need to support both scenarios for all_packages.
all_packages=(
$(go list -e ./... | egrep -v "/(third_party|vendor|staging/src/k8s.io/client-go/pkg|generated|clientset_generated)" | sed -e 's|^k8s.io/kubernetes/||' -e "s|^_${KUBE_ROOT}/\?||")
$(go list -e ./... | egrep -v "/(third_party|vendor|staging/src/k8s.io/client-go/pkg|generated|clientset_generated)" | sed -e 's|^k8s.io/kubernetes/||' -e "s|^_\(${KUBE_ROOT}/\)\{0,1\}||")
)
failing_packages=(
$(cat $failure_file)
Expand Down

0 comments on commit 199cd1b

Please sign in to comment.