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

Change hard coded leastLoadedNode=[3rd node] to searching for leastLoadedNode worker node

Accomodate dee89a6cc1

And format files according to gofmt verification

update version to 1.11.1
This commit is contained in:
Bowen Song
2019-07-10 17:16:36 -04:00
parent 66a2a87e49
commit 7245a31f52
3 changed files with 23 additions and 9 deletions

View File

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