File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,12 +62,12 @@ def __init__(
6262 async def setup (self ):
6363 logging .debug ("Setting up sandboxed actor" )
6464 await self ._maybe_create_image ()
65- self ._reset ()
65+ self .recreate ()
6666
6767 @endpoint
6868 async def reset (self ):
6969 """Resets the container instance from the base image."""
70- self ._reset ()
70+ self .recreate ()
7171
7272 async def _maybe_create_image (self ):
7373 """Ensure the enroot image exists, import it if necessary."""
@@ -89,7 +89,7 @@ async def _maybe_create_image(self):
8989 else :
9090 logging .info (f"Using existing image: { self .sqsh_image_path } " )
9191
92- def _reset (self ):
92+ def recreate (self ):
9393 """(Re)create a clean container instance from the base image."""
9494 # Remove any old container
9595 logging .debug (f"Removing container { self .container_name } " )
You can’t perform that action at this time.
0 commit comments