1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 15:15:22 +00:00

Add pool refresh before getting list of volumes

This commit is contained in:
catborise 2018-12-03 16:18:41 +03:00
parent a519980610
commit fc3f04c244

View file

@ -221,6 +221,7 @@ def get_volumes(request, compute_id, pool):
compute.password,
compute.type,
pool)
conn.refresh()
except libvirtError as liberr:
pass
data['vols'] = sorted(conn.get_volumes())