From f18e0327146c4c2a5f4e3c70614dfe94118628d3 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Thu, 20 Apr 2017 12:56:15 +0200 Subject: [PATCH] server: do not nil sandbox's infraContainer on remove Signed-off-by: Antonio Murdaca --- server/sandbox_remove.go | 1 - 1 file changed, 1 deletion(-) 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 {