[#1333] neofs-node: initialize tree service before the control one

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-05-17 12:09:18 +03:00
parent 982cb987a3
commit 5af89b4bbe

View file

@ -85,8 +85,8 @@ func initApp(c *cfg) {
initAndLog(c, "object", initObjectService) initAndLog(c, "object", initObjectService)
initAndLog(c, "profiler", initProfiler) initAndLog(c, "profiler", initProfiler)
initAndLog(c, "metrics", initMetrics) initAndLog(c, "metrics", initMetrics)
initAndLog(c, "control", initControlService)
initAndLog(c, "tree", initTreeService) initAndLog(c, "tree", initTreeService)
initAndLog(c, "control", initControlService)
initAndLog(c, "storage engine", func(c *cfg) { initAndLog(c, "storage engine", func(c *cfg) {
fatalOnErr(c.cfgObject.cfgLocalStorage.localStorage.Open()) fatalOnErr(c.cfgObject.cfgLocalStorage.localStorage.Open())