diff options
author | Maxim Devaev <[email protected]> | 2022-07-30 18:15:50 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-07-30 18:15:50 +0300 |
commit | 589ec14de02de4ecf960d13d675c7f1efaa74b7c (patch) | |
tree | c0a3be50145de8f1f8eb4d3e600b9ba16c0a6482 /kvmd/plugins/msd/disabled.py | |
parent | 5ee8f7a7a34641392213cbf932a61455d87bddbd (diff) |
Fixed pikvm/pikvm#783: remove incomplete msd image
Diffstat (limited to 'kvmd/plugins/msd/disabled.py')
-rw-r--r-- | kvmd/plugins/msd/disabled.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/msd/disabled.py b/kvmd/plugins/msd/disabled.py index ab076cd4..3a8c1b2e 100644 --- a/kvmd/plugins/msd/disabled.py +++ b/kvmd/plugins/msd/disabled.py @@ -86,7 +86,7 @@ class Plugin(BaseMsd): raise MsdDisabledError() @contextlib.asynccontextmanager - async def write_image(self, name: str, size: int) -> AsyncGenerator[int, None]: + async def write_image(self, name: str, size: int, remove_incomplete: Optional[bool]) -> AsyncGenerator[int, None]: if self is not None: # XXX: Vulture and pylint hack raise MsdDisabledError() yield 1 |