mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-16 09:18:06 -05:00
update repo local config to allow redirects from gopkg.in
This commit is contained in:
parent
f66679a4e9
commit
04a7880b61
2 changed files with 4 additions and 0 deletions
|
|
@ -20,5 +20,7 @@ set -o pipefail
|
|||
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
||||
source "${KUBE_ROOT}/hack/lib/init.sh"
|
||||
|
||||
git config http.https://gopkg.in.followRedirects true
|
||||
|
||||
go get -u gopkg.in/mikedanese/gazel.v13/gazel
|
||||
"${GOPATH}/bin/gazel" -root="$(kube::realpath ${KUBE_ROOT})"
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ set -o pipefail
|
|||
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
||||
source "${KUBE_ROOT}/hack/lib/init.sh"
|
||||
|
||||
git config http.https://gopkg.in.followRedirects true
|
||||
|
||||
go get -u gopkg.in/mikedanese/gazel.v13/gazel
|
||||
if ! "${GOPATH}/bin/gazel" -validate -print-diff -root="$(kube::realpath ${KUBE_ROOT})" ; then
|
||||
echo
|
||||
|
|
|
|||
Loading…
Reference in a new issue