[#1770] node: Do not create meta dir on config read

It is created in `Open` anyway.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
remotes/fyrchik/neofs-adm-fix-commands
Pavel Karpy 2022-09-26 08:31:59 +03:00 committed by fyrchik
parent 76cfcc242c
commit 9374823950
1 changed files with 0 additions and 2 deletions

View File

@ -5,7 +5,6 @@ import (
"errors"
"fmt"
"net"
"path/filepath"
"sync"
atomicstd "sync/atomic"
"time"
@ -494,7 +493,6 @@ func initShardOptions(c *cfg) {
metaPath := metabaseCfg.Path()
metaPerm := metabaseCfg.BoltDB().Perm()
fatalOnErr(util.MkdirAllX(filepath.Dir(metaPath), metaPerm))
gcEventChannel := make(chan shard.Event)
addNewEpochNotificationHandler(c, func(ev event.Event) {