From aaa7084a4a548795c987b29dffb48749531b60a4 Mon Sep 17 00:00:00 2001 From: pacoxu Date: Thu, 7 Jan 2021 11:21:50 +0800 Subject: [PATCH] fix static check for vendor/k8s.io/apiserver/pkg/storage/etcd3/ --- hack/.staticcheck_failures | 1 - staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go | 1 - 2 files changed, 2 deletions(-) diff --git a/hack/.staticcheck_failures b/hack/.staticcheck_failures index c6d17e9fa09..17ea146ae92 100644 --- a/hack/.staticcheck_failures +++ b/hack/.staticcheck_failures @@ -32,7 +32,6 @@ vendor/k8s.io/apiserver/pkg/server/httplog vendor/k8s.io/apiserver/pkg/server/routes vendor/k8s.io/apiserver/pkg/storage vendor/k8s.io/apiserver/pkg/storage/cacher -vendor/k8s.io/apiserver/pkg/storage/etcd3 vendor/k8s.io/apiserver/pkg/storage/tests vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope vendor/k8s.io/apiserver/pkg/util/webhook diff --git a/staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go b/staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go index 190d7892a34..05dd81e564c 100644 --- a/staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go +++ b/staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go @@ -2078,7 +2078,6 @@ func Test_decodeContinue(t *testing.T) { func Test_growSlice(t *testing.T) { type args struct { - t reflect.Type initialCapacity int v reflect.Value maxCapacity int