summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2018-10-19 10:35:29 -0400
committerParker Berberian <pberberian@iol.unh.edu>2018-10-19 10:35:29 -0400
commit859c1b3690b4eb5474890d601bea54e32514aa49 (patch)
treedc551846947fb8e2d54028e39bbd0db23ddae551 /src
parent1f3a770d2547848590f39e9d9b9bdffeb94eec14 (diff)
Fix error in Booking cleanup task
added a missing function call that was causing celery to fail to clean up Jobs. Change-Id: I07a5e576d3dfcac320be206cc3235d17d4b286e0 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'src')
-rw-r--r--src/dashboard/tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dashboard/tasks.py b/src/dashboard/tasks.py
index 827c7c5..48008b6 100644
--- a/src/dashboard/tasks.py
+++ b/src/dashboard/tasks.py
@@ -43,7 +43,7 @@ def booking_poll():
network.clear_delta()
vlans = []
for interface in host.interfaces.all():
- for vlan in interface.config:
+ for vlan in interface.config.all():
if vlan.public:
try:
host.lab.vlan_manager.release_public_vlan(vlan.vlan_id)