Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(balancer) remove deprecated ngx.ctx.balancer_address #9043

Merged
merged 1 commit into from
Jul 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@
- DAOs in plugins must be listed in an array, so that their loading order is explicit. Loading them in a
hash-like table is no longer supported.
[#8988](https://github.com/Kong/kong/pull/8988)
- `ngx.ctx.balancer_address` does not exist anymore, please use `ngx.ctx.balancer_data` instead.
[#9043](https://github.com/Kong/kong/pull/9043)


#### Admin API
Expand Down
1 change: 0 additions & 1 deletion kong/runloop/handler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,6 @@ do
ctx.service = service
ctx.route = route
ctx.balancer_data = balancer_data
ctx.balancer_address = balancer_data -- for plugin backward compatibility

if is_http_module and service then
local res, err
Expand Down