diskbackend: Fix pool 'create' call (bz 1103442)

This commit is contained in:
Cole Robinson 2014-06-03 16:25:48 -04:00
parent f686e36e42
commit 809c5a81e5

View File

@ -88,7 +88,7 @@ def check_if_path_managed(conn, path):
# Ensure pool is running
if pool and pool.info()[0] != libvirt.VIR_STORAGE_POOL_RUNNING:
pool.start()
pool.create(0)
# Attempt to lookup path as a storage volume
if pool and not vol: