code: func (m *kubeGenericRuntimeManager) sandboxToKubeContainer(s *runtimeapi.PodSandbox) (*kubecontainer.Container, error) {
  	if s == nil || s.Id == "" {
  		return nil, fmt.Errorf("unable to convert a nil pointer to a runtime container")
  	}
  
  	return &kubecontainer.Container{
  		ID:    kubecontainer.ContainerID{Type: m.runtimeName, ID: s.Id},
  		State: kubecontainer.SandboxToContainerState(s.State),
  	}, nil
  }
docs: // sandboxToKubeContainer converts runtimeapi.PodSandbox to kubecontainer.Container.
  // This is only needed because we need to return sandboxes as if they were
  // kubecontainer.Containers to avoid substantial changes to PLEG.
  // TODO: Remove this once it becomes obsolete.