clean up unused code fakeRL in requestinfo_test.go

Kubernetes-commit: 08409554bf6b03ae7c5396cb1d1ed4473a5696fd
This commit is contained in:
hangaoshuai 2018-04-24 14:33:47 +08:00 committed by Kubernetes Publisher
parent ebba6e2eb0
commit 1e20adc3e1
1 changed files with 0 additions and 6 deletions

View File

@ -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 {