Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
fix(vault): fix requestOptions for vault namespace support (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
rimitchell authored Jun 22, 2020
1 parent bfb5ed2 commit e80d83d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const vaultOptions = {
// Include the Vault Namespace header if we have provided it as an env var.
// See: https://github.com/kr1sp1n/node-vault/pull/137#issuecomment-585309687
if (envConfig.vaultNamespace) {
vaultOptions.headers = {
vaultOptions.requestOptions.headers = {
'X-VAULT-NAMESPACE': envConfig.vaultNamespace
}
}
Expand Down

0 comments on commit e80d83d

Please sign in to comment.