mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-23 11:41:24 +01:00
Fix TestParseSockaddrTemplate to take into account CustomResponseHeaders. (#12902)
This commit is contained in:
parent
fd76783fa5
commit
bf9aa3235f
@ -16,7 +16,7 @@ import (
|
||||
"github.com/hashicorp/vault/internalshared/configutil"
|
||||
)
|
||||
|
||||
var DefaultCustomHeaders = map[string]map[string]string {
|
||||
var DefaultCustomHeaders = map[string]map[string]string{
|
||||
"default": {
|
||||
"Strict-Transport-Security": configutil.StrictTransportSecurity,
|
||||
},
|
||||
@ -870,6 +870,7 @@ EOF
|
||||
Address: "127.0.0.1:443",
|
||||
ClusterAddress: "127.0.0.1:8201",
|
||||
TLSDisable: true,
|
||||
CustomResponseHeaders: DefaultCustomHeaders,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user