mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
fix vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning staticcheck
This commit is contained in:
parent
8da7c92a2f
commit
19060e312f
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user