Qubes.add_pool() returns the added pool
This commit is contained in:
parent
8fc3772017
commit
12745a4860
@ -911,6 +911,7 @@ class Qubes(qubes.PropertyHolder):
|
||||
pool = self._get_pool(**kwargs)
|
||||
pool.setup()
|
||||
self.pools[name] = pool
|
||||
return pool
|
||||
|
||||
def remove_pool(self, name):
|
||||
""" Remove a storage pool from config file. """
|
||||
|
Loading…
Reference in New Issue
Block a user