diff options
-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) |