ZanderMo opened a new issue #3441:
URL: https://github.com/apache/apisix/issues/3441
### Issue description
The config.yaml file codeing like this:
`
apisix:
config_center: yaml
`
Than run to start get info:
`
lua: /usr/apisix-2.2/deps/share/lua/5.1/tinyyaml.lua:624: found bad
indenting in line: -
stack traceback:
[C]: in function 'error'
/usr/apisix-2.2/deps/share/lua/5.1/tinyyaml.lua:624: in function
'parsemap'
/usr/apisix-2.2/deps/share/lua/5.1/tinyyaml.lua:685: in function
'parsemap'
/usr/apisix-2.2/deps/share/lua/5.1/tinyyaml.lua:735: in function
'parsedocuments'
/usr/apisix-2.2/deps/share/lua/5.1/tinyyaml.lua:760: in function
'parse'
./apisix/cli/file.lua:196: in function 'read_yaml_conf'
./apisix/cli/ops.lua:133: in function 'init'
./apisix/cli/ops.lua:393: in function '?'
./apisix/cli/ops.lua:455: in function 'execute'
./bin/apisix:36: in main chunk
[C]: ?
`
it not start up
### Environment
* apisix version (cmd: `apisix version`):2.2
* OS: (cmd: `uname -a`) ubuntu 18
* OpenResty / Nginx version: (cmd: `nginx -V` or `openresty -V`)
* etcd version, if have: (cmd: run `curl
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API) none
* apisix-dashboard version, if have: none
----------------------------------------------------------------
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]