diff --git a/hack/.staticcheck_failures b/hack/.staticcheck_failures index e50746e29d4..36e7de4cddb 100644 --- a/hack/.staticcheck_failures +++ b/hack/.staticcheck_failures @@ -5,7 +5,6 @@ pkg/controller/deployment pkg/controller/garbagecollector pkg/controller/nodeipam pkg/controller/podautoscaler -pkg/controller/podgc pkg/controller/replicaset pkg/controller/resourcequota pkg/controller/statefulset diff --git a/pkg/controller/podgc/gc_controller_test.go b/pkg/controller/podgc/gc_controller_test.go index 674582c4fdb..dcc65acfefb 100644 --- a/pkg/controller/podgc/gc_controller_test.go +++ b/pkg/controller/podgc/gc_controller_test.go @@ -36,18 +36,6 @@ import ( "k8s.io/kubernetes/pkg/controller/testutil" ) -type FakeController struct{} - -func (*FakeController) Run(<-chan struct{}) {} - -func (*FakeController) HasSynced() bool { - return true -} - -func (*FakeController) LastSyncResourceVersion() string { - return "" -} - func alwaysReady() bool { return true } func NewFromClient(kubeClient clientset.Interface, terminatedPodThreshold int) (*PodGCController, coreinformers.PodInformer, coreinformers.NodeInformer) {