diff options
author | Sean Smith <ssmith@iol.unh.edu> | 2020-07-27 15:15:25 -0400 |
---|---|---|
committer | Sean Smith <ssmith@iol.unh.edu> | 2020-07-27 15:15:25 -0400 |
commit | 0d90af7bcea705c78df92336b31836ef67cd5d10 (patch) | |
tree | 2af8157cce5763f785536aa25e4e7bdc80716f38 | |
parent | 34c9d33a6235cf45175d0e4e1017c569e0f6095d (diff) |
No headnode for marker bookings
Signed-off-by: Sean Smith <ssmith@iol.unh.edu>
Change-Id: I96ea3d9f1fa045c754ba1c7aa0323339149d5173
-rw-r--r-- | src/workflow/resource_bundle_workflow.py | 2 |
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 |