diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cc9fde05..2f748a03c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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] diff --git a/http/handler.go b/http/handler.go index 3d2a1d8a6..e72f076e0 100644 --- a/http/handler.go +++ b/http/handler.go @@ -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)))