Skip to content

Commit

Permalink
fix: use description from GUI submitter (#517)
Browse files Browse the repository at this point in the history
Signed-off-by: Joel Wong <[email protected]>
  • Loading branch information
joel-wong-aws authored Nov 28, 2024
1 parent 9e5ef34 commit f585ca5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/deadline/client/ui/job_bundle_submitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ def on_create_job_bundle_callback(
file_contents, file_type, settings.input_job_bundle_dir, "template"
)
template["name"] = settings.name
if settings.description:
template["description"] = settings.description
else:
# remove description field since it can't be empty
# ignore if description is missing from template
template.pop("description", None)

# If "HostRequirements" is provided, inject it into each of the "Step"
if host_requirements:
Expand Down

0 comments on commit f585ca5

Please sign in to comment.