aboutsummaryrefslogtreecommitdiffstats
path: root/src/resource_inventory
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2022-12-16 22:08:06 +0000
committerGerrit Code Review <gerrit@opnfv.org>2022-12-16 22:08:06 +0000
commit8ddc7e820e120f1dde4e901d3cb6f1dd3f281e65 (patch)
treeb8251f8703550bbdce86239364749025aafccbb8 /src/resource_inventory
parent1773e2b7fc4564e693dfbf29074374379ed86ebb (diff)
parent4edb8881357e043fd7ea15efeb2d592c9fb55efc (diff)
Merge "Laas Dashboard Front End Improvements"
Diffstat (limited to 'src/resource_inventory')
-rw-r--r--src/resource_inventory/resource_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resource_inventory/resource_manager.py b/src/resource_inventory/resource_manager.py
index 52af824..16c106e 100644
--- a/src/resource_inventory/resource_manager.py
+++ b/src/resource_inventory/resource_manager.py
@@ -176,7 +176,7 @@ class ResourceManager:
vlan_manager = template.lab.vlan_manager
for net_name, vlan_id in vlans.items():
net = Network.objects.get(name=net_name, bundle=template)
- if(net.is_public):
+ if (net.is_public):
vlan_manager.release_public_vlan(vlan_id)
else:
vlan_manager.release_vlans(vlan_id)