We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9e5ee68 + d74225b commit e4e05c6Copy full SHA for e4e05c6
1 file changed
pkg/cri/server/sandbox_remove.go
@@ -46,7 +46,7 @@ func (c *criService) RemovePodSandbox(ctx context.Context, r *runtime.RemovePodS
46
// Use the full sandbox id.
47
id := sandbox.ID
48
49
- // Return error if sandbox container is still running or unknown.
+ // If the sandbox is still running or in an unknown state, forcibly stop it.
50
state := sandbox.Status.Get().State
51
if state == sandboxstore.StateReady || state == sandboxstore.StateUnknown {
52
logrus.Infof("Forcibly stopping sandbox %q", id)
0 commit comments