fix vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning staticcheck

This commit is contained in:
M. Habib Rosyad 2020-08-18 15:53:27 +07:00
parent 8da7c92a2f
commit 19060e312f
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