forked from TrueCloudLab/frostfs-node
[#367] cmd/neofs-node: Don't update local node info for bootstrap
At startup, update only node info status. Leave all other attributes from node configuration, so user can update them. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
3775d61ccb
commit
9618c3e268
2 changed files with 33 additions and 15 deletions
|
@ -127,7 +127,7 @@ func initState(c *cfg) {
|
|||
ni, err := c.netmapLocalNodeState(epoch)
|
||||
fatalOnErr(errors.Wrap(err, "could not init network state"))
|
||||
|
||||
c.handleLocalNodeInfo(ni)
|
||||
c.handleNodeInfoStatus(ni)
|
||||
|
||||
c.log.Info("initial network state",
|
||||
zap.Uint64("epoch", epoch),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue