1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

Refactoring test by make it table driven and adding golangci-lint to the CI pipeline

This commit is contained in:
Reeta Singh
2019-05-11 17:06:50 -07:00
parent 60fbaca305
commit dee89a6cc1
10 changed files with 137 additions and 49 deletions

View File

@@ -24,7 +24,7 @@ DESCHEDULER_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.8|go1.9|go1.10') ]]; then
echo "Unknown go version '${GO_VERSION}', skipping gofmt."
echo "Unknown go version '${GO_VERSION[2]}', skipping gofmt."
exit 1
fi