mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 02:09:56 +00:00
remove invalid and useless functions from unit test
This commit is contained in:
parent
5911f87dad
commit
eb1650ce56
@ -26,9 +26,7 @@ import (
|
|||||||
|
|
||||||
type doNothingAdmission struct{}
|
type doNothingAdmission struct{}
|
||||||
|
|
||||||
func (doNothingAdmission) Admit(a admission.Attributes) error { return nil }
|
|
||||||
func (doNothingAdmission) Handles(o admission.Operation) bool { return false }
|
func (doNothingAdmission) Handles(o admission.Operation) bool { return false }
|
||||||
func (doNothingAdmission) Validate() error { return nil }
|
|
||||||
|
|
||||||
type fakeServiceResolver struct{}
|
type fakeServiceResolver struct{}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user