Remove some dead code.

This commit is contained in:
Brendan Burns 2014-12-17 09:53:27 -08:00
parent 3ade280f89
commit 845fb5013d

View File

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