Skip to content

Commit e4e05c6

Browse files
authored
Merge pull request #4625 from dcantah/fix-removesandbox-comment
Fix comment in RemovePodSandbox
2 parents 9e5ee68 + d74225b commit e4e05c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/cri/server/sandbox_remove.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func (c *criService) RemovePodSandbox(ctx context.Context, r *runtime.RemovePodS
4646
// Use the full sandbox id.
4747
id := sandbox.ID
4848

49-
// Return error if sandbox container is still running or unknown.
49+
// If the sandbox is still running or in an unknown state, forcibly stop it.
5050
state := sandbox.Status.Get().State
5151
if state == sandboxstore.StateReady || state == sandboxstore.StateUnknown {
5252
logrus.Infof("Forcibly stopping sandbox %q", id)

0 commit comments

Comments
 (0)