aboutsummaryrefslogtreecommitdiffstats
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
commit7fb79891b5c69020d2dfb091f2d6a56777b082d9 (patch)
tree3221acdd222c75d930f4bbcc2a4012370e295631
parent77504dab9df7a68634943c9ea18dfe1fc46e107a (diff)
parent859c1b3690b4eb5474890d601bea54e32514aa49 (diff)
Merge "Fix error in Booking cleanup task"
-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)