Skip to content

Commit 15214f4

Browse files
olethanhhoh
andcommitted
Update comment src/aleph/vm/hypervisors/firecracker/microvm.py
Co-authored-by: Hugo Herter <[email protected]>
1 parent c9acb74 commit 15214f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aleph/vm/hypervisors/firecracker/microvm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ def enable_file_rootfs(self, path_on_host: Path) -> Path:
331331
logger.debug(f"File {jailer_path_on_host} already exists")
332332
except OSError as err:
333333
if err.errno == errno.EXDEV:
334-
# Invalid cross-device link:
335-
# cannot make hard link between partition. Make a copy instead
334+
# Invalid cross-device link: cannot make hard link between partition.
335+
# In this case, copy the file instead:
336336
shutil.copyfile(path_on_host, f"{self.jailer_path}/{jailer_path_on_host}")
337337
else:
338338
raise

0 commit comments

Comments
 (0)