Skip to content

Commit

Permalink
fix mistake.
Browse files Browse the repository at this point in the history
  • Loading branch information
euler-room committed Oct 31, 2024
1 parent a6b5156 commit 7ea29eb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion apps/dashboard/app/models/launcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,13 @@ def submit_opts(options, render_format)
sm
end.map do |sm|
sm.submit(fmt: render_format)
end.reduce(&:deep_merge)[:script]
end.reduce(&:deep_merge)[:script].merge(
# force some values for scripts like the 'workdir'. We could use auto
# attributes, but this is not optional and not variable.
{
workdir: project_dir.to_s
}
)
end

def adapter(cluster_id)
Expand Down

0 comments on commit 7ea29eb

Please sign in to comment.