shreemaan-abhishek commented on code in PR #11614:
URL: https://github.com/apache/apisix/pull/11614#discussion_r1777969285


##########
apisix/core/status.lua:
##########
@@ -0,0 +1,31 @@
+local config_local = require("apisix.core.config_local")
+local etcd_util = require("apisix.utils.etcd")
+local _M = {}
+
+-- TODO: register this function as a handler for new status endpoint
+-- in ngx_tpl.lua
+
+function _M.status()
+    local res_init_err = ngx.shared["res_init_err"]

Review Comment:
   perhaps we can just use a lua variable instead of shdict



-- 
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]

Reply via email to