wilson-1024 commented on a change in pull request #6505:
URL: https://github.com/apache/apisix/pull/6505#discussion_r819565071



##########
File path: apisix/cli/file.lua
##########
@@ -234,6 +237,20 @@ function _M.read_yaml_conf(apisix_home)
         end
     end
 
+    if default_conf.apisix.config_center == "yaml" then

Review comment:
       At first I wanted to put this in apisix/core/config_yaml.lua, but 
because the file loads ngx variables, it needs to be loaded in the openresty 
environment. Can't run in CLI mode, so we can't put this in 
apisix/core/config_yaml.lua




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