storage: fix method name in LinuxModules volume
It's `import_volume`, not `clone`.
This commit is contained in:
parent
9e8c40867b
commit
34125d915b
@ -83,8 +83,8 @@ class LinuxModules(Volume):
|
||||
def is_dirty(self):
|
||||
return False
|
||||
|
||||
def clone(self, source):
|
||||
if isinstance(source, LinuxModules):
|
||||
def import_volume(self, src_volume):
|
||||
if isinstance(src_volume, LinuxModules):
|
||||
# do nothing
|
||||
return self
|
||||
raise StoragePoolException('clone of LinuxModules volume from '
|
||||
|
Loading…
Reference in New Issue
Block a user