Skip to content

Commit 2451a0c

Browse files
committed
pyproject fix
1 parent 84a5258 commit 2451a0c

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

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

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ class MicroVM:
9393
mounted_rootfs: Path | None = None
9494
_unix_socket: Server | None = None
9595
enable_log: bool
96-
journal_stdout: BinaryIO | int | None = None
97-
journal_stderr: BinaryIO | int | None = None
9896

9997
def __repr__(self):
10098
return f"<MicroVM {self.vm_id}>"
@@ -482,19 +480,6 @@ async def teardown(self):
482480
if self.stderr_task:
483481
self.stderr_task.cancel()
484482

485-
if (
486-
self.journal_stdout
487-
and self.journal_stdout != asyncio.subprocess.DEVNULL
488-
and hasattr(self.journal_stdout, "close")
489-
):
490-
self.journal_stdout.close()
491-
if (
492-
self.journal_stderr
493-
and self.journal_stderr != asyncio.subprocess.DEVNULL
494-
and hasattr(self.journal_stderr, "close")
495-
):
496-
self.journal_stderr.close()
497-
498483
# Clean mounted block devices
499484
if self.mounted_rootfs:
500485
logger.debug("Waiting for one second for the VM to shutdown")

0 commit comments

Comments
 (0)