forked from TrueCloudLab/frostfs-node
[#291] Remove some unused code from repository
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
a51211eda7
commit
9a86fff7e0
23 changed files with 14 additions and 399 deletions
|
@ -25,16 +25,6 @@ func testNode(v uint32) (n netmap.NodeInfo) {
|
|||
return n
|
||||
}
|
||||
|
||||
func flattenVectors(vs []netmap.Nodes) netmap.Nodes {
|
||||
v := make(netmap.Nodes, 0)
|
||||
|
||||
for i := range vs {
|
||||
v = append(v, vs[i]...)
|
||||
}
|
||||
|
||||
return v
|
||||
}
|
||||
|
||||
func copyVectors(v []netmap.Nodes) []netmap.Nodes {
|
||||
vc := make([]netmap.Nodes, 0, len(v))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue