forked from TrueCloudLab/frostfs-node
[#1513] Upgrade NeoFS SDK Go with changed netmap
package
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
24b4c1ecf4
commit
21d2f8f861
70 changed files with 878 additions and 992 deletions
|
@ -132,10 +132,11 @@ func WriteToNodeInfo(g AddressGroup, ni *netmap.NodeInfo) {
|
|||
addrs := make([]string, 0, num)
|
||||
|
||||
iterateAllAddresses(g, func(addr Address) {
|
||||
ni.SetNetworkEndpoints()
|
||||
addrs = append(addrs, addr.String())
|
||||
})
|
||||
|
||||
ni.SetAddresses(addrs...)
|
||||
ni.SetNetworkEndpoints(addrs...)
|
||||
}
|
||||
|
||||
// Intersects checks if two AddressGroup have
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue