File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6262GOPATH=${GOPATH%%:* }
6363
6464# Get kubernetes
65- from-vendor KUBERNETES k8s.io/kubernetes
66- # k8s.io is actually a redirect, but we do not handle the go-import
67- # metadata which `go get` and `vndr` etc do. Handle it manually here.
68- if [ x" $KUBERNETES_REPO " = " xk8s.io" ] ; then
69- KUBERNETES_REPO=" https://github.com/kubernetes/kubernetes"
70- fi
65+ KUBERNETES_REPO=" https://github.com/kubernetes/kubernetes"
7166KUBERNETES_PATH=" ${GOPATH} /src/k8s.io/kubernetes"
7267if [ ! -d " ${KUBERNETES_PATH} " ]; then
7368 mkdir -p ${KUBERNETES_PATH}
Original file line number Diff line number Diff line change 1717ROOT=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) " /..
1818
1919# Not from vendor.conf.
20+ KUBERNETES_VERSION=" v1.19.0-beta.2"
2021CRITOOL_VERSION=${CRITOOL_VERSION:- 75ef33dc2b4ecb08e0237d91de1b664909d262de}
2122CRITOOL_PKG=github.com/kubernetes-sigs/cri-tools
2223CRITOOL_REPO=github.com/kubernetes-sigs/cri-tools
Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ func (c *criService) getTLSConfig(registryTLSConfig criconfig.TLSConfig) (*tls.C
284284 if len (cert .Certificate ) != 0 {
285285 tlsConfig .Certificates = []tls.Certificate {cert }
286286 }
287- tlsConfig .BuildNameToCertificate ()
287+ tlsConfig .BuildNameToCertificate () // nolint:staticcheck
288288 }
289289
290290 if registryTLSConfig .CAFile != "" {
You can’t perform that action at this time.
0 commit comments