mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
store ignored pools in db, check ignored pools when getting all pools
This commit is contained in:
parent
51de0b69af
commit
8fbae0a071
5 changed files with 39 additions and 26 deletions
|
@ -79,7 +79,7 @@ def process_expiring_vms_task():
|
|||
pools = get_pools(proxmox)
|
||||
for pool in pools:
|
||||
expiring_vms = []
|
||||
vms = get_vms_for_user(proxmox, pool)
|
||||
vms = get_vms_for_user(proxmox, db, pool)
|
||||
for vm in vms:
|
||||
vmid = vm['vmid']
|
||||
expire = get_vm_expire(db, vmid,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue