mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #94476 from habibrosyad/patch-92402-12
fix vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning staticcheck
This commit is contained in:
commit
26d0f84605
@ -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/apis/meta/v1/validation
|
||||||
vendor/k8s.io/apimachinery/pkg/runtime
|
vendor/k8s.io/apimachinery/pkg/runtime
|
||||||
vendor/k8s.io/apimachinery/pkg/runtime/serializer/json
|
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/httpstream/spdy
|
||||||
vendor/k8s.io/apimachinery/pkg/util/net
|
vendor/k8s.io/apimachinery/pkg/util/net
|
||||||
vendor/k8s.io/apimachinery/pkg/util/sets/types
|
vendor/k8s.io/apimachinery/pkg/util/sets/types
|
||||||
|
@ -319,15 +319,6 @@ func (s *mockSerializer) Identifier() runtime.Identifier {
|
|||||||
return runtime.Identifier("mock")
|
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 {
|
type mockTyper struct {
|
||||||
gvks []schema.GroupVersionKind
|
gvks []schema.GroupVersionKind
|
||||||
unversioned bool
|
unversioned bool
|
||||||
|
Loading…
Reference in New Issue
Block a user