From 1e20adc3e1a97e70e30b4c3ad7bdc86e57d9d362 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 Kubernetes-commit: 08409554bf6b03ae7c5396cb1d1ed4473a5696fd --- pkg/endpoints/request/requestinfo_test.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkg/endpoints/request/requestinfo_test.go b/pkg/endpoints/request/requestinfo_test.go index 9d5a4dbf9..cf127da85 100644 --- a/pkg/endpoints/request/requestinfo_test.go +++ b/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 {