Skip to content

Commit

Permalink
Merge pull request kubernetes#3039 from brendandburns/e2e
Browse files Browse the repository at this point in the history
Remove some dead code.
  • Loading branch information
dchen1107 committed Dec 18, 2014
2 parents a50f803 + 845fb50 commit 8860851
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions pkg/kubelet/kubelet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 8860851

Please sign in to comment.