From 9f426a2ab31b60383e1c73fb2948c06656435ba3 Mon Sep 17 00:00:00 2001
From: Sawyer Bergeron <sbergeron@iol.unh.edu>
Date: Thu, 22 Oct 2020 13:06:39 -0400
Subject: Fix quick booking allocation of private vlans for pods

Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Change-Id: Ie515da2c28fcbc51d8fa87e24a3ff64c234d1bee
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
---
 src/workflow/resource_bundle_workflow.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/workflow/resource_bundle_workflow.py')

diff --git a/src/workflow/resource_bundle_workflow.py b/src/workflow/resource_bundle_workflow.py
index 404224e..63a9519 100644
--- a/src/workflow/resource_bundle_workflow.py
+++ b/src/workflow/resource_bundle_workflow.py
@@ -294,7 +294,7 @@ class Define_Nets(WorkflowStep):
         if lab is None or lab.vlan_manager is None:
             return None
         try:
-            vlans = lab.vlan_manager.get_vlan(count=lab.vlan_manager.block_size)
+            vlans = lab.vlan_manager.get_vlans(count=lab.vlan_manager.block_size)
             self.repo_put(self.repo.VLANS, vlans)
             return vlans
         except Exception:
-- 
cgit 1.2.3-korg