forked from TrueCloudLab/frostfs-node
[#1238] Adopt neofs-ir for non pointer slices in SDK
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
7f3195b197
commit
9fad29dfe0
9 changed files with 28 additions and 27 deletions
|
@ -35,7 +35,7 @@ func (x db) Get(lc *locodestd.LOCODE) (locode.Record, error) {
|
|||
}
|
||||
|
||||
func addAttrKV(n *netmap.NodeInfo, key, val string) {
|
||||
a := netmap.NewNodeAttribute()
|
||||
var a netmap.NodeAttribute
|
||||
|
||||
a.SetKey(key)
|
||||
a.SetValue(val)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue