config: support relative path in --config
Before this change the following conditions lead to an error on `config:reload()`. * `--config <...>` CLI option is passed with a relative config path * `process.work_dir` config option is set to a non-null value It is fixed by calculating of an absolute config path on startup. Part of #8862 NO_DOC=bugfix
Showing
- changelogs/unreleased/config-relative-config-path.md 5 additions, 0 deletionschangelogs/unreleased/config-relative-config-path.md
- src/box/lua/config/init.lua 9 additions, 1 deletionsrc/box/lua/config/init.lua
- test/config-luatest/work_dir_test.lua 51 additions, 0 deletionstest/config-luatest/work_dir_test.lua
Loading
Please register or sign in to comment