Skip to content
Snippets Groups Projects
Commit 4c0d4a0c authored by Maria's avatar Maria Committed by Kirill Yukhin
Browse files

box: always reconfigure box at non-first box.cfg()


Calling box.cfg{} more than once does not normally cause any errors
(even though it might not have any effect). In contrast, assigning
it to some variable and then using it after the box was configured
caused an error since the method was overwritten by the initial call
of <load_cfg>.

The patch fixes this issue making box.cfg behave consistently in both
scenarios.

Follow-up #4231

Co-developed-by: default avatarAlexander Turenko <alexander.turenko@tarantool.org>
parent e8d5515a
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment