Merge pull request #7792 from mxpv/sb-shutdown

This commit is contained in:
Fu Wei
2022-12-15 13:37:35 +08:00
committed by GitHub
16 changed files with 448 additions and 259 deletions

View File

@@ -178,7 +178,7 @@ var removeCommand = cli.Command{
}
}
err = sandbox.Delete(ctx)
err = sandbox.Shutdown(ctx)
if err != nil {
log.G(ctx).WithError(err).Errorf("failed to shutdown sandbox %s", id)
continue