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):
|
def is_dirty(self):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def clone(self, source):
|
def import_volume(self, src_volume):
|
||||||
if isinstance(source, LinuxModules):
|
if isinstance(src_volume, LinuxModules):
|
||||||
# do nothing
|
# do nothing
|
||||||
return self
|
return self
|
||||||
raise StoragePoolException('clone of LinuxModules volume from '
|
raise StoragePoolException('clone of LinuxModules volume from '
|
||||||
|
Loading…
Reference in New Issue
Block a user