Qubes.add_pool() returns the added pool

This commit is contained in:
Bahtiar `kalkin-` Gadimov 2016-05-28 21:07:29 +02:00
parent 8fc3772017
commit 12745a4860
No known key found for this signature in database
GPG Key ID: 96ED3C3BA19C3DEE

View File

@ -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. """