From d74225b5882f1c06e2a9ed102187a4ed4931f6c5 Mon Sep 17 00:00:00 2001 From: Daniel Canter Date: Mon, 12 Oct 2020 17:59:08 -0700 Subject: [PATCH] Fix comment in RemovePodSandbox Signed-off-by: Daniel Canter --- pkg/cri/server/sandbox_remove.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cri/server/sandbox_remove.go b/pkg/cri/server/sandbox_remove.go index 0192fff2e..25572af49 100644 --- a/pkg/cri/server/sandbox_remove.go +++ b/pkg/cri/server/sandbox_remove.go @@ -46,7 +46,7 @@ func (c *criService) RemovePodSandbox(ctx context.Context, r *runtime.RemovePodS // Use the full sandbox id. id := sandbox.ID - // Return error if sandbox container is still running or unknown. + // If the sandbox is still running or in an unknown state, forcibly stop it. state := sandbox.Status.Get().State if state == sandboxstore.StateReady || state == sandboxstore.StateUnknown { logrus.Infof("Forcibly stopping sandbox %q", id)