From: Sean Smith Date: Mon, 27 Jul 2020 19:15:25 +0000 (-0400) Subject: No headnode for marker bookings X-Git-Tag: 2.0.99~20 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F93%2F70593%2F1;p=laas.git No headnode for marker bookings Signed-off-by: Sean Smith Change-Id: I96ea3d9f1fa045c754ba1c7aa0323339149d5173 --- diff --git a/src/workflow/resource_bundle_workflow.py b/src/workflow/resource_bundle_workflow.py index 639e7a8..1a6de50 100644 --- a/src/workflow/resource_bundle_workflow.py +++ b/src/workflow/resource_bundle_workflow.py @@ -259,7 +259,7 @@ class Define_Software(WorkflowStep): image = form.cleaned_data['image'] hostname = form.cleaned_data['host_name'] headnode = form.cleaned_data['headnode'] - if headnode: + if headnode or not hosts: has_headnode = True host.is_head_node = headnode host.name = hostname