Skip to content

Commit

Permalink
enabling verify-gofmt for all go version
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysied committed Oct 19, 2018
1 parent 55e9f48 commit 3831e69
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions verify/verify-gofmt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ set -o pipefail

KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..

GO_VERSION=($(go version))

if [[ -z $(echo "${GO_VERSION[2]}" | grep -E 'go1.2|go1.3|go1.4|go1.5|go1.6|go1.7|go1.9') ]]; then
echo "Unknown go version '${GO_VERSION}', skipping gofmt."
exit 1
fi

cd "${KUBE_ROOT}"

find_files() {
Expand Down

0 comments on commit 3831e69

Please sign in to comment.