From 34125d915bdeedcdcfdfa45073b82b7188820091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Thu, 28 Sep 2017 02:36:37 +0200 Subject: [PATCH] storage: fix method name in LinuxModules volume It's `import_volume`, not `clone`. --- qubes/storage/kernels.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qubes/storage/kernels.py b/qubes/storage/kernels.py index b570d38c..aadacd83 100644 --- a/qubes/storage/kernels.py +++ b/qubes/storage/kernels.py @@ -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 '