forked from TrueCloudLab/frostfs-node
[#607] network: Remove no longer needed GroupFromAddress function
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>support/v0.27
parent
e3eade619d
commit
359bbe319a
|
@ -106,13 +106,6 @@ func (x *AddressGroup) FromIterator(iter MultiAddressIterator) (err error) {
|
|||
return
|
||||
}
|
||||
|
||||
// GroupFromAddress wraps single Address into AddressGroup.
|
||||
//
|
||||
// Deprecated: use AddressGroup.FromIterator method.
|
||||
func GroupFromAddress(addr Address) AddressGroup {
|
||||
return AddressGroup{addr}
|
||||
}
|
||||
|
||||
// WriteToNodeInfo writes AddressGroup to netmap.NodeInfo structure.
|
||||
func (x AddressGroup) WriteToNodeInfo(ni *netmap.NodeInfo) {
|
||||
addrs := make([]string, len(x))
|
||||
|
|
Loading…
Reference in New Issue