File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,15 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
23
23
24
24
kube::golang::verify_go_version
25
25
26
- if ! which golint > /dev/null ; then
27
- # Ensure that we find the binaries we build before anything else.
28
- export GOBIN=" ${KUBE_OUTPUT_BINPATH} "
29
- PATH=" ${GOBIN} :${PATH} "
30
-
31
- # Install golint from vendor
32
- echo ' Can not find golint, installing from vendor'
33
- go install k8s.io/kubernetes/vendor/golang.org/x/lint/golint
34
- fi
26
+
27
+ # Ensure that we find the binaries we build before anything else.
28
+ export GOBIN=" ${KUBE_OUTPUT_BINPATH} "
29
+ PATH=" ${GOBIN} :${PATH} "
30
+
31
+ # Install golint from vendor
32
+ echo ' installing golint from vendor'
33
+ go install k8s.io/kubernetes/vendor/golang.org/x/lint/golint
34
+
35
35
36
36
cd " ${KUBE_ROOT} "
37
37
You can’t perform that action at this time.
0 commit comments