spacewander commented on code in PR #8219:
URL: https://github.com/apache/apisix/pull/8219#discussion_r1026076194
##########
apisix/admin/init.lua:
##########
@@ -19,6 +19,7 @@ local core = require("apisix.core")
local route = require("apisix.utils.router")
local plugin = require("apisix.plugin")
local v3_adapter = require("apisix.admin.v3_adapter")
+local filter = require("apisix.router").filter
Review Comment:
We need to export filter first so we can use it:
https://github.com/apache/apisix/blob/ae400b95b91240fb867c3cedc9fa65a6b5593f36/apisix/router.lua#L30
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]