qihaiyan commented on code in PR #7425:
URL: https://github.com/apache/apisix/pull/7425#discussion_r917520240


##########
apisix/cli/apisix.lua:
##########
@@ -22,6 +22,7 @@ local apisix_home = "/usr/local/apisix"
 local pkg_cpath = apisix_home .. "/deps/lib64/lua/5.1/?.so;"
                   .. apisix_home .. "/deps/lib/lua/5.1/?.so;"
 local pkg_path = apisix_home .. "/deps/share/lua/5.1/?.lua;"
+                  .. apisix_home .. "/?.lua;"

Review Comment:
   > `apisix_home` is "/usr/local/apisix", add this would search 
`/usr/local/apisix/?.lua`, woud this solve probelm?
   
   yes, i've verified this in my local docker environment.



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