diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2018-10-19 10:35:29 -0400 |
---|---|---|
committer | Parker Berberian <pberberian@iol.unh.edu> | 2018-10-19 10:35:29 -0400 |
commit | 859c1b3690b4eb5474890d601bea54e32514aa49 (patch) | |
tree | dc551846947fb8e2d54028e39bbd0db23ddae551 /src | |
parent | 1f3a770d2547848590f39e9d9b9bdffeb94eec14 (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.py | 2 |
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) |