Fix lease lookup returning properties at top level (#2902)
This commit is contained in:
parent
c414a525d2
commit
4936a83310
|
@ -13,7 +13,8 @@ IMPROVEMENTS:
|
|||
|
||||
BUG FIXES:
|
||||
|
||||
* api/health: Consider the response code from standby nodes [GH-2850]
|
||||
* api/health: Don't treat standby `429` codes as an error [GH-2850]
|
||||
* api/leases: Fix lease lookup returning lease properties at the top level
|
||||
* core: Relocated `sys/leases/renew` returns same payload as original
|
||||
`sys/leases` endpoint [GH-2891]
|
||||
|
||||
|
|
|
@ -50,8 +50,7 @@ func Handler(core *vault.Core) http.Handler {
|
|||
mux.Handle("/v1/sys/unseal", handleSysUnseal(core))
|
||||
mux.Handle("/v1/sys/renew", handleRequestForwarding(core, handleLogical(core, false, nil)))
|
||||
mux.Handle("/v1/sys/renew/", handleRequestForwarding(core, handleLogical(core, false, nil)))
|
||||
mux.Handle("/v1/sys/leases/renew", handleRequestForwarding(core, handleLogical(core, false, nil)))
|
||||
mux.Handle("/v1/sys/leases/renew/", handleRequestForwarding(core, handleLogical(core, false, nil)))
|
||||
mux.Handle("/v1/sys/leases/", handleRequestForwarding(core, handleLogical(core, false, nil)))
|
||||
mux.Handle("/v1/sys/leader", handleSysLeader(core))
|
||||
mux.Handle("/v1/sys/health", handleSysHealth(core))
|
||||
mux.Handle("/v1/sys/generate-root/attempt", handleRequestForwarding(core, handleSysGenerateRootAttempt(core)))
|
||||
|
|
Loading…
Reference in New Issue