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:
parent
9e4b32778f
commit
6bc96faba9
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user