mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-02 02:51:53 +08:00
explicit image name
This commit is contained in:
@@ -307,6 +307,7 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes
|
||||
image = self.__STATE_get_storage_image(name)
|
||||
self.__reader = await MsdFileReader(
|
||||
notifier=self.__notifier,
|
||||
name=image.name,
|
||||
path=image.path,
|
||||
chunk_size=self.__read_chunk_size,
|
||||
).open()
|
||||
@@ -332,6 +333,7 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes
|
||||
|
||||
self.__writer = await MsdFileWriter(
|
||||
notifier=self.__notifier,
|
||||
name=image.name,
|
||||
path=image.path,
|
||||
file_size=size,
|
||||
sync_size=self.__sync_chunk_size,
|
||||
|
||||
Reference in New Issue
Block a user