mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-14 22:24:14 +00:00
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:
parent
35f297ad50
commit
2e29ef9cab
@ -1271,7 +1271,6 @@ func (s *Sandbox) DeleteContainer(ctx context.Context, containerID string) (VCCo
|
|||||||
}
|
}
|
||||||
|
|
||||||
// StatusContainer gets the status of a container
|
// 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) {
|
func (s *Sandbox) StatusContainer(containerID string) (ContainerStatus, error) {
|
||||||
if containerID == "" {
|
if containerID == "" {
|
||||||
return ContainerStatus{}, vcTypes.ErrNeedContainerID
|
return ContainerStatus{}, vcTypes.ErrNeedContainerID
|
||||||
|
Loading…
Reference in New Issue
Block a user