mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-05-06 10:04:45 +00:00
chore: update tests to use got correctly
This commit is contained in:
parent
333e4389dc
commit
3d4cea598b
4 changed files with 14 additions and 24 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
|
@ -4096,8 +4096,8 @@ async function exportSecrets() {
|
|||
responseType: 'json'
|
||||
};
|
||||
|
||||
if (vaultNamespace != null){
|
||||
options.headers["X-Vault-Namespace"] = vaultNamespace
|
||||
if (vaultNamespace != null) {
|
||||
options.headers["X-Vault-Namespace"] = vaultNamespace;
|
||||
}
|
||||
|
||||
const result = await got.post(`${vaultUrl}/v1/auth/approle/login`, options);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue