Store runtimeHandler for the PodSandboxStatus in FakeRuntimeService

Include the RuntimeHandler in ListPodSandbox

Signed-off-by: Aldo Culquicondor <acondor@google.com>
This commit is contained in:
Aldo Culquicondor 2019-05-03 16:07:46 -04:00
parent 5bbad4fd46
commit d077d21867

View File

@ -183,6 +183,7 @@ func (r *FakeRuntimeService) RunPodSandbox(config *runtimeapi.PodSandboxConfig,
}, },
Labels: config.Labels, Labels: config.Labels,
Annotations: config.Annotations, Annotations: config.Annotations,
RuntimeHandler: runtimeHandler,
}, },
RuntimeHandler: runtimeHandler, RuntimeHandler: runtimeHandler,
} }
@ -259,6 +260,7 @@ func (r *FakeRuntimeService) ListPodSandbox(filter *runtimeapi.PodSandboxFilter)
CreatedAt: s.CreatedAt, CreatedAt: s.CreatedAt,
Labels: s.Labels, Labels: s.Labels,
Annotations: s.Annotations, Annotations: s.Annotations,
RuntimeHandler: s.RuntimeHandler,
}) })
} }