Skip to content

Commit

Permalink
trace only 5th chars of token
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Aguilera <[email protected]>
  • Loading branch information
jagedn committed Mar 8, 2024
1 parent bf1f1b5 commit a3b9439
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 a3b9439

Please sign in to comment.