Skip to content

Commit

Permalink
task_engine: avoid pull behavior check for pause images
Browse files Browse the repository at this point in the history
  • Loading branch information
sharanyad committed Feb 14, 2019
1 parent 40c8290 commit 0747276
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/engine/docker_task_engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -667,8 +667,8 @@ func (engine *DockerTaskEngine) GetTaskByArn(arn string) (*apitask.Task, bool) {

func (engine *DockerTaskEngine) pullContainer(task *apitask.Task, container *apicontainer.Container) dockerapi.DockerContainerMetadata {
switch container.Type {
case apicontainer.ContainerCNIPause:
// ContainerCNIPause image are managed at startup
case apicontainer.ContainerCNIPause, apicontainer.ContainerNamespacePause:
// pause images are managed at startup
return dockerapi.DockerContainerMetadata{}
}

Expand Down

0 comments on commit 0747276

Please sign in to comment.