You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/04 02:58:59 UTC

[GitHub] [apisix] tokers commented on a change in pull request #2612: improve: refactor partial command line tool.

tokers commented on a change in pull request #2612:
URL: https://github.com/apache/apisix/pull/2612#discussion_r517071125



##########
File path: bin/apisix
##########
@@ -346,8 +285,8 @@ end
 
 local checked_admin_key = false
 local function init()
-    if is_root_path then
-        print('Warning! Running apisix under /root is only suitable for development environments'
+    if env.is_root_path then
+        print('Warning! Running apisix under /root is only suitable for development envments'

Review comment:
       Oops, it's the result of full replace from "environ" to "env".




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org