File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -694,14 +694,14 @@ def spawn(
694
694
# 1 sec since we are rechecking the existence of the socket 5 times
695
695
# and leave 0.2 delay between them.
696
696
if "no-api" not in self .jailer .extra_args :
697
- self ._wait_create ()
697
+ self ._wait_for_api_socket ()
698
698
if "config-file" in self .jailer .extra_args and self .iface :
699
699
self .wait_for_ssh_up ()
700
700
if self .log_file and log_level in ("Trace" , "Debug" , "Info" ):
701
701
self .check_log_message ("Running Firecracker" )
702
702
703
703
@retry (wait = wait_fixed (0.2 ), stop = stop_after_attempt (5 ), reraise = True )
704
- def _wait_create (self ):
704
+ def _wait_for_api_socket (self ):
705
705
"""Wait until the API socket and chroot folder are available."""
706
706
os .stat (self .jailer .api_socket_path ())
707
707
You can’t perform that action at this time.
0 commit comments