mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-30 11:01:09 +02:00
minor edit for error statement
This commit is contained in:
parent
1acea5246f
commit
d410787d0d
@ -92,7 +92,7 @@ func (c *Core) setupPolicyStore() error {
|
||||
// Ensure that the cubbyhole response wrapping policy exists
|
||||
policy, err = c.policyStore.GetPolicy(cubbyholeResponseWrappingPolicyName)
|
||||
if err != nil {
|
||||
return errwrap.Wrapf("error fetching response wrapping policy from store: {{err}}", err)
|
||||
return errwrap.Wrapf("error fetching response-wrapping policy from store: {{err}}", err)
|
||||
}
|
||||
if policy == nil || policy.Raw != cubbyholeResponseWrappingPolicy {
|
||||
err := c.policyStore.createCubbyholeResponseWrappingPolicy()
|
||||
|
Loading…
x
Reference in New Issue
Block a user