monkeyDluffy6017 commented on code in PR #7946:
URL: https://github.com/apache/apisix/pull/7946#discussion_r975101697


##########
apisix/core/config_local.lua:
##########
@@ -65,7 +65,10 @@ function _M.local_conf(force)
     end
 
     -- fill the default value by the schema
-    schema.validate(default_conf)
+    local ok, err = schema.validate(default_conf)
+    if not ok then
+        ngx.log(ngx.ERR, "======================== levy, err: ", err)

Review Comment:
   It will be changed to error() after finding out how many test cases will 
fail because yaml config. 



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