diff --git a/server/sandbox_remove.go b/server/sandbox_remove.go index c647d948..19165250 100644 --- a/server/sandbox_remove.go +++ b/server/sandbox_remove.go @@ -83,7 +83,6 @@ func (s *Server) RemovePodSandbox(ctx context.Context, req *pb.RemovePodSandboxR } s.removeContainer(podInfraContainer) - sb.infraContainer = nil // Remove the files related to the sandbox if err := s.storageRuntimeServer.StopContainer(sb.id); err != nil {