Merge pull request #87308 from KobayashiD27/fix-staticcheck

Fix staticcheck in pkg/controller/podgc
This commit is contained in:
Kubernetes Prow Robot 2020-01-23 11:34:11 -08:00 committed by GitHub
commit c5d981583a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 13 deletions

View File

@ -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

View File

@ -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) {