summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2018-10-23 19:52:54 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-10-23 19:52:54 +0000
commit08a9025677df43d7e1e45c6e67673f4ac122ec4c (patch)
tree5793774ed8957bc3cf8f296637b868e1b46620fd
parent5aae3047f61e8d08c7350907f42213a37540b716 (diff)
parent2c2d03c6ffe5fcadce1d0475d63bebdd16cb7d86 (diff)
Merge "Fix error in Booking cleanup task"
-rw-r--r--dashboard/src/dashboard/tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dashboard/src/dashboard/tasks.py b/dashboard/src/dashboard/tasks.py
index 827c7c5..48008b6 100644
--- a/dashboard/src/dashboard/tasks.py
+++ b/dashboard/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)