forked from TrueCloudLab/frostfs-node
[#877] config/engine: use default section for shards
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
cb9bf00ceb
commit
49c9dbfba8
3 changed files with 32 additions and 39 deletions
|
@ -22,8 +22,6 @@ func (x *Config) Sub(name string) *Config {
|
|||
copy(defaultPath, x.defaultPath)
|
||||
}
|
||||
|
||||
copy(path, x.path)
|
||||
|
||||
return &Config{
|
||||
v: x.v,
|
||||
path: append(path, name),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue