1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

Update vault.go (#3875)

This commit is contained in:
raman-susla-epam 2022-07-05 17:20:53 +03:00 committed by GitHub
parent 9e4b32778f
commit 6bc96faba9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -369,7 +369,7 @@ func RemoveVaultSecretFiles() {
func createTemporarySecretFile(namePattern string, content string) (string, error) {
if VaultSecretFileDirectory == "" {
var err error
VaultSecretFileDirectory, err = ioutil.TempDir("", "vault")
VaultSecretFileDirectory, err = ioutil.TempDir(".", "vault")
if err != nil {
return "", err
}