mirror of https://github.com/k3s-io/k3s
clean up unused code fakeRL in requestinfo_test.go
parent
4692a6bf2e
commit
08409554bf
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue