Skip to content

Commit

Permalink
apply comments
Browse files Browse the repository at this point in the history
Signed-off-by: tzssangglass <tzssangglass@gmail.com>
  • Loading branch information
tzssangglass committed Feb 26, 2024
1 parent d5bcdb0 commit cfe429a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lualib/resty/kong/peer_conn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ end

local function get_last_peer_connection_cached()
if get_phase() ~= "balancer" then
error("get_last_peer_connection_cached can only be called in balancer phase")
error("get_last_peer_connection_cached() can only be called in balancer phase")
end

local r = get_request()
Expand Down
2 changes: 1 addition & 1 deletion src/ngx_http_lua_kong_peer_connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/


#include "ngx_http_lua_common.h"
#include "ngx_http_lua_kong_common.h"

int
ngx_http_lua_kong_ffi_get_last_peer_connection_cached(ngx_http_request_t *r,
Expand Down

0 comments on commit cfe429a

Please sign in to comment.