You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-09-16 09:26:22 +02:00
fix(logging): shorten secret not resolved message and attach param.name to it (#5467)
This commit is contained in:
@@ -192,7 +192,7 @@ func resolveVaultReference(ref *ResourceReference, config *StepConfig, client Va
|
||||
}
|
||||
}
|
||||
if secretValue == nil {
|
||||
log.Entry().Info("The secret could not be resolved from Vault. Please check if the secret is available via configured paths.")
|
||||
log.Entry().WithField("parameter", param.Name).Info("Secret not found in Vault at configured paths.")
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user