mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 02:11:09 +00:00
Fix staticcheck failures for vendor/k8s.io/apimachinery/pkg/runtime
This commit is contained in:
parent
cf3374e434
commit
15688b6342
@ -3,7 +3,6 @@ pkg/controller/replicaset
|
|||||||
pkg/kubelet/dockershim
|
pkg/kubelet/dockershim
|
||||||
vendor/k8s.io/apimachinery/pkg/api/apitesting/roundtrip
|
vendor/k8s.io/apimachinery/pkg/api/apitesting/roundtrip
|
||||||
vendor/k8s.io/apimachinery/pkg/apis/meta/v1/validation
|
vendor/k8s.io/apimachinery/pkg/apis/meta/v1/validation
|
||||||
vendor/k8s.io/apimachinery/pkg/runtime/serializer/json
|
|
||||||
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
|
||||||
|
@ -38,7 +38,7 @@ func TestSimpleMetaFactoryInterpret(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// unparsable
|
// unparsable
|
||||||
gvk, err = factory.Interpret([]byte(`{`))
|
_, err = factory.Interpret([]byte(`{`))
|
||||||
if err == nil {
|
if err == nil {
|
||||||
t.Errorf("unexpected non-error")
|
t.Errorf("unexpected non-error")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user