From 0747276a90091f981563908620296986ec9ed29b Mon Sep 17 00:00:00 2001 From: Sharanya Devaraj Date: Tue, 12 Feb 2019 02:04:31 +0000 Subject: [PATCH] task_engine: avoid pull behavior check for pause images --- agent/engine/docker_task_engine.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/engine/docker_task_engine.go b/agent/engine/docker_task_engine.go index 18735e61f6a..efd12e68337 100644 --- a/agent/engine/docker_task_engine.go +++ b/agent/engine/docker_task_engine.go @@ -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{} }