Browse Source

Fix missing parameter in Pool.__init__()

Bahtiar `kalkin-` Gadimov 8 years ago
parent
commit
b2c1017488
1 changed files with 1 additions and 1 deletions
  1. 1 1
      qubes/storage/__init__.py

+ 1 - 1
qubes/storage/__init__.py

@@ -287,7 +287,7 @@ class Pool(object):
         raise NotImplementedError("Pool %s has stop() not implemented" %
         raise NotImplementedError("Pool %s has stop() not implemented" %
                                   self.name)
                                   self.name)
 
 
-    def init_volume(self, volume_config):
+    def init_volume(self, vm, volume_config):
         ''' Initialize a :py:class:`qubes.storage.Volume` from `volume_config`.
         ''' Initialize a :py:class:`qubes.storage.Volume` from `volume_config`.
         '''
         '''
         raise NotImplementedError("Pool %s has init_volume() not implemented" %
         raise NotImplementedError("Pool %s has init_volume() not implemented" %