Merge pull request #912 from hashicorp/fix-renew-regression

Have 'sys/renew' return the value provided in Secret.
This commit is contained in:
Jeff Mitchell 2016-01-07 11:35:52 -05:00
commit c9f9bcdeaf

View file

@ -29,7 +29,7 @@ func Handler(core *vault.Core) http.Handler {
mux.Handle("/v1/sys/remount", proxySysRequest(core))
mux.Handle("/v1/sys/policy", handleSysListPolicies(core))
mux.Handle("/v1/sys/policy/", handleSysPolicy(core))
mux.Handle("/v1/sys/renew/", proxySysRequest(core))
mux.Handle("/v1/sys/renew/", handleLogical(core, false))
mux.Handle("/v1/sys/revoke/", proxySysRequest(core))
mux.Handle("/v1/sys/revoke-prefix/", proxySysRequest(core))
mux.Handle("/v1/sys/auth", proxySysRequest(core))