From 4859bb2e1c3ff2e4e344c3c6ac98508d21cd6213 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Fri, 11 Jun 2021 11:39:49 +0300 Subject: [PATCH] [#603] cmd/node: Remove unused bootType field of cfgNodeInfo struct Signed-off-by: Leonard Lyubich --- cmd/neofs-node/config.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/neofs-node/config.go b/cmd/neofs-node/config.go index d8da58b3..c53c9b16 100644 --- a/cmd/neofs-node/config.go +++ b/cmd/neofs-node/config.go @@ -167,7 +167,6 @@ type BootstrapType uint32 type cfgNodeInfo struct { // values from config - bootType BootstrapType attributes []*netmap.NodeAttribute // values at runtime @@ -296,7 +295,6 @@ func initCfg(path string) *cfg { reBoostrapTurnedOff: atomic.NewBool(relayOnly), }, cfgNodeInfo: cfgNodeInfo{ - bootType: StorageNode, attributes: parseAttributes(appCfg), }, cfgGRPC: cfgGRPC{