From 08409554bf6b03ae7c5396cb1d1ed4473a5696fd Mon Sep 17 00:00:00 2001 From: hangaoshuai Date: Tue, 24 Apr 2018 14:33:47 +0800 Subject: [PATCH] clean up unused code fakeRL in requestinfo_test.go --- .../apiserver/pkg/endpoints/request/requestinfo_test.go | 6 ------ 1 file changed, 6 deletions(-) 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 {