Skip to content

Commit

Permalink
updating golint
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysied committed Oct 12, 2018
1 parent 2ea1e26 commit c2990ad
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions verify/install-verify-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ set -o pipefail
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
GO_VERSION=($(go version))

# golint only works for golang 1.5+
if [[ -z $(echo "${GO_VERSION[2]}" | grep -E 'go1.1|go1.2|go1.3|go1.4') ]]; then
go get -u github.com/golang/lint/golint
fi

go get -u golang.org/x/lint/golint
go get -u github.com/tools/godep

# ex: ts=2 sw=2 et filetype=sh

0 comments on commit c2990ad

Please sign in to comment.