From becd9f4a2e13de15d74acdf41640f8833c930062 Mon Sep 17 00:00:00 2001 From: Jordan Liggitt Date: Tue, 23 Jun 2020 16:55:47 -0400 Subject: [PATCH] go1.14: update staticcheck for go 1.14, ignore new staticcheck warnings --- hack/.staticcheck_failures | 9 +++++++++ hack/tools/go.mod | 4 ++-- hack/tools/go.sum | 7 ++++--- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/hack/.staticcheck_failures b/hack/.staticcheck_failures index 07a4f5177a4..91197975dd5 100644 --- a/hack/.staticcheck_failures +++ b/hack/.staticcheck_failures @@ -7,13 +7,20 @@ pkg/controller/replicaset pkg/controller/resourcequota pkg/controller/statefulset pkg/util/coverage +pkg/volume/azure_dd +pkg/volume/gcepd +pkg/volume/rbd +pkg/volume/testing +pkg/volume/vsphere_volume test/e2e/apps test/e2e/autoscaling +test/e2e_node test/integration/examples test/integration/framework test/integration/garbagecollector test/integration/scheduler_perf test/integration/ttlcontroller +vendor/k8s.io/apimachinery/pkg/api/apitesting/roundtrip vendor/k8s.io/apimachinery/pkg/api/meta vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructuredscheme @@ -42,6 +49,7 @@ vendor/k8s.io/apiserver/pkg/registry/generic/registry vendor/k8s.io/apiserver/pkg/registry/generic/rest vendor/k8s.io/apiserver/pkg/registry/rest/resttest vendor/k8s.io/apiserver/pkg/server +vendor/k8s.io/apiserver/pkg/server/dynamiccertificates vendor/k8s.io/apiserver/pkg/server/filters vendor/k8s.io/apiserver/pkg/server/healthz vendor/k8s.io/apiserver/pkg/server/httplog @@ -60,6 +68,7 @@ vendor/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc vendor/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook vendor/k8s.io/apiserver/plugin/pkg/authorizer/webhook vendor/k8s.io/cli-runtime/pkg/printers +vendor/k8s.io/client-go/discovery vendor/k8s.io/client-go/discovery/cached/memory vendor/k8s.io/client-go/dynamic/fake vendor/k8s.io/client-go/metadata/fake diff --git a/hack/tools/go.mod b/hack/tools/go.mod index f07b69d9e14..691e5605ac2 100644 --- a/hack/tools/go.mod +++ b/hack/tools/go.mod @@ -1,6 +1,6 @@ module k8s.io/kubernetes/hack/tools -go 1.13 +go 1.14 require ( github.com/bazelbuild/bazel-gazelle v0.19.1-0.20191105222053-70208cbdc798 @@ -10,6 +10,6 @@ require ( golang.org/x/lint v0.0.0-20190409202823-959b441ac422 gotest.tools v2.2.0+incompatible gotest.tools/gotestsum v0.3.5 - honnef.co/go/tools v0.0.1-2019.2.2 + honnef.co/go/tools v0.0.1-2020.1.4 k8s.io/repo-infra v0.0.1-alpha.1 ) diff --git a/hack/tools/go.sum b/hack/tools/go.sum index 20b637f87eb..467be1edda4 100644 --- a/hack/tools/go.sum +++ b/hack/tools/go.sum @@ -315,10 +315,11 @@ golang.org/x/tools v0.0.0-20190311215038-5c2858a9cfe5/go.mod h1:LCzVGOaR6xXOjkQ3 golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190322203728-c1a832b0ad89/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190521203540-521d6ed310dd/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190909030654-5b82db07426d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190920225731-5eefd052ad72 h1:bw9doJza/SFBEweII/rHQh338oozWyiFsBRHtrflcws= golang.org/x/tools v0.0.0-20190920225731-5eefd052ad72/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d h1:/iIZNFGxc/a7C3yWjGcnboV+Tkc7mxr+p6fDztwoxuM= +golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= @@ -357,8 +358,8 @@ gotest.tools/gotestsum v0.3.5/go.mod h1:Mnf3e5FUzXbkCfynWBGOwLssY7gTQgCHObK9tMpA grpc.go4.org v0.0.0-20170609214715-11d0a25b4919/go.mod h1:77eQGdRu53HpSqPFJFmuJdjuHRquDANNeA4x7B8WQ9o= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.2 h1:TEgegKbBqByGUb1Coo1pc2qIdf2xw6v0mYyLSYtyopE= -honnef.co/go/tools v0.0.1-2019.2.2/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +honnef.co/go/tools v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8= +honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= k8s.io/klog v1.0.0 h1:Pt+yjF5aB1xDSVbau4VsWe+dQNzA0qv1LlXdC2dF6Q8= k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I= k8s.io/repo-infra v0.0.1-alpha.1 h1:2us1n30u3cOcoPsacNfCvCssS9B9Yldr1ZGOdK0728U=