From 2e29ef9cab63102400482238e8b66e1c0b12d474 Mon Sep 17 00:00:00 2001 From: Peng Tao Date: Sat, 29 May 2021 11:10:32 +0800 Subject: [PATCH] runtime: remove TODO comment from StatusContainer It is no longer valid as containerd already doesn't treat container pid as host process pid. Signed-off-by: Peng Tao --- src/runtime/virtcontainers/sandbox.go | 1 - 1 file changed, 1 deletion(-) diff --git a/src/runtime/virtcontainers/sandbox.go b/src/runtime/virtcontainers/sandbox.go index 5f2bd56d57..68930f20c2 100644 --- a/src/runtime/virtcontainers/sandbox.go +++ b/src/runtime/virtcontainers/sandbox.go @@ -1271,7 +1271,6 @@ func (s *Sandbox) DeleteContainer(ctx context.Context, containerID string) (VCCo } // StatusContainer gets the status of a container -// TODO: update container status properly, see kata-containers/runtime#253 func (s *Sandbox) StatusContainer(containerID string) (ContainerStatus, error) { if containerID == "" { return ContainerStatus{}, vcTypes.ErrNeedContainerID