forked from TrueCloudLab/frostfs-node
[#645] *: Use helper functions to build client.NodeInfo structures
Helper functions from core/client package allow to set public keys of storage nodes. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
2d441a4cc6
commit
e473f3ac91
12 changed files with 67 additions and 107 deletions
|
@ -79,7 +79,7 @@ func (exec *execCtx) processCurrentEpoch() bool {
|
|||
// TODO: consider parallel execution
|
||||
var info client.NodeInfo
|
||||
|
||||
info.SetAddressGroup(addrs[i].Addresses())
|
||||
client.NodeInfoFromNetmapElement(&info, addrs[i])
|
||||
|
||||
exec.processNode(ctx, info)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue