From 552b9d45803edcbd42bd0f1ba2471c907b9631d3 Mon Sep 17 00:00:00 2001 From: Guilherme Salazar Date: Mon, 24 Jul 2023 15:23:00 -0300 Subject: [PATCH] chore(wasm): update ffi binding module name (#11253) `resty.wasm` -> `resty.wasmx`. --- kong/runloop/wasm.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kong/runloop/wasm.lua b/kong/runloop/wasm.lua index ce7181fc36d8..52eac439db48 100644 --- a/kong/runloop/wasm.lua +++ b/kong/runloop/wasm.lua @@ -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 @@ -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