Yangzcy423911 commented on issue #3230:
URL: https://github.com/apache/apisix/issues/3230#issuecomment-757094536


   example:
   cat /usr/local/apisix/conf/config.yaml | tail -3
                                     # the default value is true, e.g. the 
certificate will be verified strictly.
   # test file error
   123
    apisix restart
   lua: /usr/local/apisix/deps/share/lua/5.1/tinyyaml.lua:641: failed to 
classify line: 123
   stack traceback:
           [C]: in function 'error'
           /usr/local/apisix/deps/share/lua/5.1/tinyyaml.lua:641: in function 
'parsemap'
           /usr/local/apisix/deps/share/lua/5.1/tinyyaml.lua:735: in function 
'parsedocuments'
           /usr/local/apisix/deps/share/lua/5.1/tinyyaml.lua:760: in function 
'parse'
           /usr/share/lua/5.1/apisix/cli/file.lua:132: in function 
'read_yaml_conf'
           /usr/bin/apisix:156: in function 'init'
           /usr/bin/apisix:363: in function 'start'
           /usr/bin/apisix:377: in function '?'
           /usr/bin/apisix:418: in main chunk
           [C]: ?
   aviod apisix restart fali,  service fail


----------------------------------------------------------------
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:
[email protected]


Reply via email to