diff --git a/pkg/cmd/testing/fake.go b/pkg/cmd/testing/fake.go index eda2d08af..f7046868f 100644 --- a/pkg/cmd/testing/fake.go +++ b/pkg/cmd/testing/fake.go @@ -375,11 +375,6 @@ func (d *fakeCachedDiscoveryClient) Fresh() bool { func (d *fakeCachedDiscoveryClient) Invalidate() { } -// Deprecated: use ServerGroupsAndResources instead. -func (d *fakeCachedDiscoveryClient) ServerResources() ([]*metav1.APIResourceList, error) { - return []*metav1.APIResourceList{}, nil -} - func (d *fakeCachedDiscoveryClient) ServerGroupsAndResources() ([]*metav1.APIGroup, []*metav1.APIResourceList, error) { return []*metav1.APIGroup{}, []*metav1.APIResourceList{}, nil }