From 859c1b3690b4eb5474890d601bea54e32514aa49 Mon Sep 17 00:00:00 2001 From: Parker Berberian Date: Fri, 19 Oct 2018 10:35:29 -0400 Subject: 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 --- src/dashboard/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit 1.2.3-korg