Move ComputePodChanges to DockerManager.
This logic is specific to the Docker runtime. This move is the first step towards making syncPod() runtime-agnostic.
This commit is contained in:
@@ -28,6 +28,7 @@ import (
|
||||
kubecontainer "github.com/GoogleCloudPlatform/kubernetes/pkg/kubelet/container"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/kubelet/dockertools"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/kubelet/network"
|
||||
kubeletProber "github.com/GoogleCloudPlatform/kubernetes/pkg/kubelet/prober"
|
||||
docker "github.com/fsouza/go-dockerclient"
|
||||
cadvisorApi "github.com/google/cadvisor/info/v1"
|
||||
)
|
||||
@@ -158,7 +159,8 @@ func TestRunOnce(t *testing.T) {
|
||||
0,
|
||||
"",
|
||||
kubecontainer.FakeOS{},
|
||||
kb.networkPlugin)
|
||||
kb.networkPlugin,
|
||||
&kubeletProber.FakeProber{})
|
||||
kb.containerManager.Puller = &dockertools.FakeDockerPuller{}
|
||||
|
||||
pods := []*api.Pod{
|
||||
|
Reference in New Issue
Block a user