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:
parent
a519980610
commit
fc3f04c244
1 changed files with 1 additions and 0 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue