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 ba73970..669d4ae 100644 --- a/plugins/nf-nomad/src/main/nextflow/nomad/executor/NomadService.groovy +++ b/plugins/nf-nomad/src/main/nextflow/nomad/executor/NomadService.groovy @@ -51,7 +51,7 @@ class NomadService implements Closeable{ ApiClient apiClient = new ApiClient() apiClient.basePath = config.clientOpts.address if( config.clientOpts.token ){ - log.debug "[NOMAD BATCH] Creating Nomad connection using token: ${config.clientOpts.token?.substring(0,5)}.." + log.debug "[NOMAD BATCH] Creating Nomad connection using token: ${config.clientOpts.token?.take(5)}.." apiClient.apiKey = config.clientOpts.token } this.jobsApi = new JobsApi(apiClient);