Skip to content

Commit

Permalink
style(*): style fix for plugin server and CHANGELOG.md
Browse files Browse the repository at this point in the history
Add change log entry for #9173.
  • Loading branch information
chronolaw authored Oct 19, 2022
1 parent f705089 commit d96244a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
14 changes: 11 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,17 +108,21 @@

#### Admin API

- Increase the maximum request argument number from `100` to `1000`, and return 400 error if request parameters reach the limitation to avoid being truncated.
- Increase the maximum request argument number from `100` to `1000`,
and return `400` error if request parameters reach the limitation to
avoid being truncated.
[#9510](https://github.com/Kong/kong/pull/9510)

#### PDK

- Added support for `kong.request.get_uri_captures`(`kong.request.getUriCaptures`)
- Added support for `kong.request.get_uri_captures`
(`kong.request.getUriCaptures`)
[#9512](https://github.com/Kong/kong/pull/9512)

#### Plugins

- **AWS Lambda**: Fix an issue that is causing inability to read environment variables in ECS environment.
- **AWS Lambda**: Fix an issue that is causing inability to
read environment variables in ECS environment.
[#9460](https://github.com/Kong/kong/pull/9460)

### Dependencies
Expand All @@ -131,6 +135,10 @@

#### Plugins

- **Zipkin**: add `response_header_for_traceid` field in Zipkin plugin.
The plugin will set the corresponding header in the response
if the field is specified with a string value.
[#9173](https://github.com/Kong/kong/pull/9173)
- **AWS Lambda**: add `requestContext` field into `awsgateway_compatible` input data
[#9380](https://github.com/Kong/kong/pull/9380)

Expand Down
4 changes: 1 addition & 3 deletions kong/runloop/plugin_servers/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ local cjson = require "cjson.safe"
local clone = require "table.clone"
local ngx_ssl = require "ngx.ssl"
local SIGTERM = 15
local type = type
local pairs = pairs

local type = type
local pairs = pairs
Expand Down Expand Up @@ -113,7 +111,7 @@ local exposed_api = {
return header_value
end,

["kong.request.get_uri_captures"] = function ()
["kong.request.get_uri_captures"] = function()
local saved = get_saved()
local ngx_ctx = saved and saved.ngx_ctx or ngx.ctx
return kong.request.get_uri_captures(ngx_ctx)
Expand Down

0 comments on commit d96244a

Please sign in to comment.