Merge pull request #94476 from habibrosyad/patch-92402-12

fix vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning staticcheck
This commit is contained in:
Kubernetes Prow Robot 2020-09-03 21:39:40 -07:00 committed by GitHub
commit 26d0f84605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 10 deletions

View File

@ -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

View File

@ -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