diff --git a/hack/.staticcheck_failures b/hack/.staticcheck_failures index c85de44fc73d6..30bc554d7719e 100644 --- a/hack/.staticcheck_failures +++ b/hack/.staticcheck_failures @@ -50,7 +50,6 @@ vendor/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook vendor/k8s.io/apiserver/plugin/pkg/authorizer/webhook vendor/k8s.io/cli-runtime/pkg/printers vendor/k8s.io/client-go/discovery -vendor/k8s.io/client-go/discovery/cached/memory vendor/k8s.io/client-go/dynamic/fake vendor/k8s.io/client-go/metadata/fake vendor/k8s.io/client-go/rest diff --git a/staging/src/k8s.io/client-go/discovery/cached/memory/memcache_test.go b/staging/src/k8s.io/client-go/discovery/cached/memory/memcache_test.go index f8c2900cbb000..4a910931c3c8a 100644 --- a/staging/src/k8s.io/client-go/discovery/cached/memory/memcache_test.go +++ b/staging/src/k8s.io/client-go/discovery/cached/memory/memcache_test.go @@ -95,6 +95,9 @@ func TestClient(t *testing.T) { if err != nil { t.Errorf("Unexpected error: %v", err) } + if e, a := fake.groupList, g; !reflect.DeepEqual(e, a) { + t.Errorf("Expected %#v, got %#v", e, a) + } if !c.Fresh() { t.Errorf("Expected fresh.") }