[#603] cmd/node: Remove unused bootType field of cfgNodeInfo struct

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-06-11 11:39:49 +03:00 committed by Alex Vanin
parent 17ac85e091
commit 4859bb2e1c

View file

@ -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{