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