aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSean Smith <ssmith@iol.unh.edu>2020-07-27 15:15:25 -0400
committerSean Smith <ssmith@iol.unh.edu>2020-07-27 15:15:25 -0400
commit0d90af7bcea705c78df92336b31836ef67cd5d10 (patch)
tree2af8157cce5763f785536aa25e4e7bdc80716f38 /src
parent34c9d33a6235cf45175d0e4e1017c569e0f6095d (diff)
No headnode for marker bookings
Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: I96ea3d9f1fa045c754ba1c7aa0323339149d5173
Diffstat (limited to 'src')
-rw-r--r--src/workflow/resource_bundle_workflow.py2
1 files changed, 1 insertions, 1 deletions
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