spacewander commented on code in PR #8254:
URL: https://github.com/apache/apisix/pull/8254#discussion_r1017453415


##########
t/APISIX.pm:
##########
@@ -506,8 +503,10 @@ _EOC_
     end
 
     require "resty.core"
-
-    $extra_init_by_lua_start
+_EOC_
+    if (index($extra_init_by_lua, "apisix.discovery.tars.schema") != -1) {

Review Comment:
   Switching the extra_init_by_lua position according to its content is not a 
good idea. If we hit the problem with some other module like 
`apisix.blah.blah`, it is too hack to extend the checklist.
   
   We should dig deeper and solve the real problem.



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