diff --git a/staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo_test.go b/staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo_test.go index 9d5a4dbf9f..cf127da85d 100644 --- a/staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo_test.go +++ b/staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo_test.go @@ -25,12 +25,6 @@ import ( "k8s.io/apimachinery/pkg/util/sets" ) -type fakeRL bool - -func (fakeRL) Stop() {} -func (f fakeRL) TryAccept() bool { return bool(f) } -func (f fakeRL) Accept() {} - func TestGetAPIRequestInfo(t *testing.T) { namespaceAll := metav1.NamespaceAll successCases := []struct {