forked from TrueCloudLab/frostfs-node
[#362] Pull latest neofs-api-go lib
Adopt new names of constant keys to node attributes from API lib. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
977229eb5a
commit
37915b53cf
3 changed files with 3 additions and 3 deletions
|
@ -51,8 +51,8 @@ const attrKeyLocode = "UN-LOCODE"
|
|||
|
||||
func listWellKnownAttrDesc() map[string]wellKnownNodeAttrDesc {
|
||||
return map[string]wellKnownNodeAttrDesc{
|
||||
netmap.PriceAttr: {defaultVal: strconv.FormatUint(defaultPrice, 10)},
|
||||
netmap.CapacityAttr: {defaultVal: strconv.FormatUint(defaultCapacity, 10)},
|
||||
netmap.AttrPrice: {defaultVal: strconv.FormatUint(defaultPrice, 10)},
|
||||
netmap.AttrCapacity: {defaultVal: strconv.FormatUint(defaultCapacity, 10)},
|
||||
attrKeyLocode: {explicit: true},
|
||||
}
|
||||
}
|
||||
|
|
2
go.mod
2
go.mod
|
@ -16,7 +16,7 @@ require (
|
|||
github.com/multiformats/go-multihash v0.0.13 // indirect
|
||||
github.com/nspcc-dev/hrw v1.0.9
|
||||
github.com/nspcc-dev/neo-go v0.92.0
|
||||
github.com/nspcc-dev/neofs-api-go v1.22.3-0.20210202125050-01c7e17b081d
|
||||
github.com/nspcc-dev/neofs-api-go v1.22.3-0.20210211074553-74b91dc9a669
|
||||
github.com/nspcc-dev/neofs-crypto v0.3.0
|
||||
github.com/nspcc-dev/tzhash v1.4.0
|
||||
github.com/panjf2000/ants/v2 v2.3.0
|
||||
|
|
BIN
go.sum
BIN
go.sum
Binary file not shown.
Loading…
Reference in a new issue