minor edit for error statement

This commit is contained in:
Laura Bennett 2016-07-25 13:29:57 -04:00
parent 1acea5246f
commit d410787d0d

View File

@ -92,7 +92,7 @@ func (c *Core) setupPolicyStore() error {
// Ensure that the cubbyhole response wrapping policy exists // Ensure that the cubbyhole response wrapping policy exists
policy, err = c.policyStore.GetPolicy(cubbyholeResponseWrappingPolicyName) policy, err = c.policyStore.GetPolicy(cubbyholeResponseWrappingPolicyName)
if err != nil { 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 { if policy == nil || policy.Raw != cubbyholeResponseWrappingPolicy {
err := c.policyStore.createCubbyholeResponseWrappingPolicy() err := c.policyStore.createCubbyholeResponseWrappingPolicy()