Skip to content

Commit

Permalink
Merge pull request #26 from nextflow-io/fix-test
Browse files Browse the repository at this point in the history
trace only 5th chars of token
  • Loading branch information
abhi18av authored Mar 8, 2024
2 parents bf1f1b5 + a3b9439 commit 08b357e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 08b357e

Please sign in to comment.