mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Fix rebase issues.
This commit is contained in:
parent
8d0ed93aa1
commit
39f648bda2
@ -44,7 +44,6 @@ type DockerContainerData struct {
|
||||
type DockerInterface interface {
|
||||
ListContainers(options docker.ListContainersOptions) ([]docker.APIContainers, error)
|
||||
InspectContainer(id string) (*docker.Container, error)
|
||||
InspectImage(name string) (*docker.Image, error)
|
||||
CreateContainer(docker.CreateContainerOptions) (*docker.Container, error)
|
||||
StartContainer(id string, hostConfig *docker.HostConfig) error
|
||||
StopContainer(id string, timeout uint) error
|
||||
|
@ -140,10 +140,6 @@ func (f *FakeDockerClient) PullImage(opts docker.PullImageOptions, auth docker.A
|
||||
return f.Err
|
||||
}
|
||||
|
||||
func (f *FakeDockerClient) InspectImage(name string) (*docker.Image, error) {
|
||||
return nil, f.Err
|
||||
}
|
||||
|
||||
// FakeDockerPuller is a stub implementation of DockerPuller.
|
||||
type FakeDockerPuller struct {
|
||||
sync.Mutex
|
||||
|
@ -273,7 +273,7 @@ func TestSyncPodsCreatesNetAndContainerPullsImage(t *testing.T) {
|
||||
kubelet.drainWorkers()
|
||||
|
||||
verifyCalls(t, fakeDocker, []string{
|
||||
"list", "list", "create", "start", "list", "inspect", "list", "create", "start"})
|
||||
"list", "list", "create", "start", "list", "inspect_container", "list", "create", "start"})
|
||||
|
||||
fakeDocker.Lock()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user