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 <bergwolf@hyper.sh>
This commit is contained in:
Peng Tao 2021-05-29 11:10:32 +08:00
parent 35f297ad50
commit 2e29ef9cab

View File

@ -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