frostfs-node/cmd/neofs-node/config/test
Leonard Lyubich e26dc0a6e3 [#493] node/config: Fix corrupting of path to the subsection
In previous implementation `Config.Sub` method could lead to the violation
of the internal `path` slice because of `append`. This has been observed on
deeply nested subsections.

Fix `Config.Sub` to copy internal slice in order to prevent violations.
Cover problem case in test config files and unit test.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-02 09:54:00 +03:00
..
config.go [#493] cmd/node: Add .env file for tests 2021-06-01 15:29:08 +03:00
config.json [#493] node/config: Fix corrupting of path to the subsection 2021-06-02 09:54:00 +03:00
config.yaml [#493] node/config: Fix corrupting of path to the subsection 2021-06-02 09:54:00 +03:00