Skip to content

Commit 00992b7

Browse files
authored
fix jobName sanitize issue (#63)
Signed-off-by: Jorge Aguilera <[email protected]>
1 parent 8f126d4 commit 00992b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/nf-nomad/src/main/nextflow/nomad/executor/NomadTaskHandler.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class NomadTaskHandler extends TaskHandler implements FusionAwareTask {
131131
def builder = createBashWrapper(task)
132132
builder.build()
133133

134-
this.jobName = NomadHelper.sanitizeName(task.hash + "-" + task.name)
134+
this.jobName = NomadHelper.sanitizeName(task.hash?.toString() + "-" + task.name)
135135

136136
final taskLauncher = getSubmitCommand(task)
137137
final taskEnv = getEnv(task)

0 commit comments

Comments
 (0)