diff --git a/hack/.staticcheck_failures b/hack/.staticcheck_failures index 91385fed8f7..4921e143c71 100644 --- a/hack/.staticcheck_failures +++ b/hack/.staticcheck_failures @@ -1,7 +1,6 @@ cluster/images/etcd/migrate vendor/k8s.io/apimachinery/pkg/api/apitesting/roundtrip 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/net vendor/k8s.io/apimachinery/pkg/util/sets/types diff --git a/staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/meta_test.go b/staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/meta_test.go index f4e34a22d5d..5c5dda89e66 100644 --- a/staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/meta_test.go +++ b/staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/meta_test.go @@ -38,7 +38,7 @@ func TestSimpleMetaFactoryInterpret(t *testing.T) { } // unparsable - gvk, err = factory.Interpret([]byte(`{`)) + _, err = factory.Interpret([]byte(`{`)) if err == nil { t.Errorf("unexpected non-error") }