Skip to content

Commit

Permalink
Fix staticcheck failure for vendor/k8s.io/client-go/discovery/cached/…
Browse files Browse the repository at this point in the history
…memory
  • Loading branch information
phunziker committed Sep 27, 2020
1 parent c8ebc8a commit b08e36e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion hack/.staticcheck_failures
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
}
Expand Down

0 comments on commit b08e36e

Please sign in to comment.