clean up unused code fakeRL in requestinfo_test.go

pull/8/head
hangaoshuai 2018-04-24 14:33:47 +08:00
parent 4692a6bf2e
commit 08409554bf
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 {