storage: fix method name in LinuxModules volume

It's `import_volume`, not `clone`.
This commit is contained in:
Marek Marczykowski-Górecki 2017-09-28 02:36:37 +02:00
parent 9e8c40867b
commit 34125d915b
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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 '