diff --git a/gradle.properties b/gradle.properties index a3736e1..5c06d51 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -version=0.0.3-rc \ No newline at end of file +version=0.0.3 \ No newline at end of file diff --git a/plugins/nf-nomad/src/main/nextflow/nomad/executor/NomadService.groovy b/plugins/nf-nomad/src/main/nextflow/nomad/executor/NomadService.groovy index 2977f9e..7926229 100644 --- a/plugins/nf-nomad/src/main/nextflow/nomad/executor/NomadService.groovy +++ b/plugins/nf-nomad/src/main/nextflow/nomad/executor/NomadService.groovy @@ -120,7 +120,7 @@ class NomadService implements Closeable{ ) - if( config.jobOpts.volumeSpec.type == NomadConfig.VOLUME_CSI_TYPE){ + if( config.jobOpts.volumeSpec && config.jobOpts.volumeSpec.type == NomadConfig.VOLUME_CSI_TYPE){ taskGroup.volumes = [:] taskGroup.volumes[config.jobOpts.volumeSpec.name]= new VolumeRequest( type: config.jobOpts.volumeSpec.type, @@ -130,7 +130,7 @@ class NomadService implements Closeable{ ) } - if( config.jobOpts.volumeSpec.type == NomadConfig.VOLUME_HOST_TYPE){ + if( config.jobOpts.volumeSpec && config.jobOpts.volumeSpec.type == NomadConfig.VOLUME_HOST_TYPE){ taskGroup.volumes = [:] taskGroup.volumes[config.jobOpts.volumeSpec.name]= new VolumeRequest( type: config.jobOpts.volumeSpec.type, @@ -190,7 +190,7 @@ class NomadService implements Closeable{ it.modifyIndex }?.last() String currentState = last?.taskStates?.values()?.last()?.state - log.info "Task $jobId , state=$currentState" + log.debug "Task $jobId , state=$currentState" currentState ?: "Unknown" }