forked from TrueCloudLab/frostfs-node
[#603] cmd/node: Remove unused bootType field of cfgNodeInfo struct
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
17ac85e091
commit
4859bb2e1c
1 changed files with 0 additions and 2 deletions
|
@ -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{
|
||||
|
|
Loading…
Reference in a new issue