Skip to content

Commit

Permalink
chore(wasm): update ffi binding module name (#11253)
Browse files Browse the repository at this point in the history
`resty.wasm` -> `resty.wasmx`.
  • Loading branch information
gszr authored Jul 24, 2023
1 parent 13c8d9a commit b572db8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kong/runloop/wasm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ local utils = require "kong.tools.utils"
local dns = require "kong.tools.dns"
local clear_tab = require "table.clear"

---@module 'resty.http.proxy_wasm'
---@module 'resty.wasmx.proxy_wasm'
local proxy_wasm

local kong = _G.kong
Expand Down Expand Up @@ -533,7 +533,7 @@ function _M.init(kong_config)
-- setup a DNS client for ngx_wasm_module
_G.dns_client = dns(kong_config)

proxy_wasm = require "resty.http.proxy_wasm"
proxy_wasm = require "resty.wasmx.proxy_wasm"
ENABLED = true

ATTACH_OPTS.isolation = proxy_wasm.isolations.FILTER
Expand Down

1 comment on commit b572db8

@khcp-gha-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:b572db812880098f17940867e56a3e8aed2668c3
Artifacts available https://github.com/Kong/kong/actions/runs/5648427757

Please sign in to comment.