From a3b943975f55a3d776c7d7c76db9c5ffb38ea8e4 Mon Sep 17 00:00:00 2001 From: Jorge Aguilera Date: Fri, 8 Mar 2024 16:17:46 +0100 Subject: [PATCH] trace only 5th chars of token Signed-off-by: Jorge Aguilera --- .../src/main/nextflow/nomad/executor/NomadService.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);