diff --git a/hack/.staticcheck_failures b/hack/.staticcheck_failures index a400af284cb..4966589dcc4 100644 --- a/hack/.staticcheck_failures +++ b/hack/.staticcheck_failures @@ -14,7 +14,6 @@ vendor/k8s.io/apimachinery/pkg/api/meta vendor/k8s.io/apimachinery/pkg/apis/meta/v1/validation vendor/k8s.io/apimachinery/pkg/runtime vendor/k8s.io/apimachinery/pkg/runtime/serializer/json -vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy vendor/k8s.io/apimachinery/pkg/util/net vendor/k8s.io/apimachinery/pkg/util/sets/types diff --git a/staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning_test.go b/staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning_test.go index 14d598ff5b7..ee3058c3c79 100644 --- a/staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning_test.go +++ b/staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning_test.go @@ -319,15 +319,6 @@ func (s *mockSerializer) Identifier() runtime.Identifier { return runtime.Identifier("mock") } -type mockCreater struct { - err error - obj runtime.Object -} - -func (c *mockCreater) New(kind schema.GroupVersionKind) (runtime.Object, error) { - return c.obj, c.err -} - type mockTyper struct { gvks []schema.GroupVersionKind unversioned bool