clean up unused code fakeRL in requestinfo_test.go
Kubernetes-commit: 08409554bf6b03ae7c5396cb1d1ed4473a5696fd
This commit is contained in:
parent
ebba6e2eb0
commit
1e20adc3e1
|
|
@ -25,12 +25,6 @@ import (
|
||||||
"k8s.io/apimachinery/pkg/util/sets"
|
"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) {
|
func TestGetAPIRequestInfo(t *testing.T) {
|
||||||
namespaceAll := metav1.NamespaceAll
|
namespaceAll := metav1.NamespaceAll
|
||||||
successCases := []struct {
|
successCases := []struct {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue