diff --git a/pkg/kubelet/kubelet.go b/pkg/kubelet/kubelet.go index f075647de2d29..c4f6eea904955 100644 --- a/pkg/kubelet/kubelet.go +++ b/pkg/kubelet/kubelet.go @@ -89,20 +89,6 @@ func NewMainKubelet( } } -// NewIntegrationTestKubelet creates a new Kubelet for use in integration tests. -// TODO: add more integration tests, and expand parameter list as needed. -func NewIntegrationTestKubelet(hn string, rd string, dc dockertools.DockerInterface) *Kubelet { - return &Kubelet{ - hostname: hn, - dockerClient: dc, - rootDirectory: rd, - dockerPuller: &dockertools.FakeDockerPuller{}, - networkContainerImage: NetworkContainerImage, - resyncInterval: 3 * time.Second, - podWorkers: newPodWorkers(), - } -} - type httpGetter interface { Get(url string) (*http.Response, error) }