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 5 additions and 5 deletions
|
@ -51,8 +51,8 @@ const attrKeyLocode = "UN-LOCODE"
|
||||||
|
|
||||||
func listWellKnownAttrDesc() map[string]wellKnownNodeAttrDesc {
|
func listWellKnownAttrDesc() map[string]wellKnownNodeAttrDesc {
|
||||||
return map[string]wellKnownNodeAttrDesc{
|
return map[string]wellKnownNodeAttrDesc{
|
||||||
netmap.PriceAttr: {defaultVal: strconv.FormatUint(defaultPrice, 10)},
|
netmap.AttrPrice: {defaultVal: strconv.FormatUint(defaultPrice, 10)},
|
||||||
netmap.CapacityAttr: {defaultVal: strconv.FormatUint(defaultCapacity, 10)},
|
netmap.AttrCapacity: {defaultVal: strconv.FormatUint(defaultCapacity, 10)},
|
||||||
attrKeyLocode: {explicit: true},
|
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/multiformats/go-multihash v0.0.13 // indirect
|
||||||
github.com/nspcc-dev/hrw v1.0.9
|
github.com/nspcc-dev/hrw v1.0.9
|
||||||
github.com/nspcc-dev/neo-go v0.92.0
|
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/neofs-crypto v0.3.0
|
||||||
github.com/nspcc-dev/tzhash v1.4.0
|
github.com/nspcc-dev/tzhash v1.4.0
|
||||||
github.com/panjf2000/ants/v2 v2.3.0
|
github.com/panjf2000/ants/v2 v2.3.0
|
||||||
|
|
4
go.sum
4
go.sum
|
@ -286,8 +286,8 @@ github.com/nspcc-dev/neo-go v0.73.1-pre.0.20200303142215-f5a1b928ce09/go.mod h1:
|
||||||
github.com/nspcc-dev/neo-go v0.91.0/go.mod h1:G6HdOWvzQ6tlvFdvFSN/PgCzLPN/X/X4d5hTjFRUDcc=
|
github.com/nspcc-dev/neo-go v0.91.0/go.mod h1:G6HdOWvzQ6tlvFdvFSN/PgCzLPN/X/X4d5hTjFRUDcc=
|
||||||
github.com/nspcc-dev/neo-go v0.92.0 h1:iKHpKLzpwE6RSXnQb0BoYWi+H1P/hNyQbMpPG0mY57Q=
|
github.com/nspcc-dev/neo-go v0.92.0 h1:iKHpKLzpwE6RSXnQb0BoYWi+H1P/hNyQbMpPG0mY57Q=
|
||||||
github.com/nspcc-dev/neo-go v0.92.0/go.mod h1:L7PyTzjK1j/PCAxvbKiVFkCMZDvsv82JbXlPxaH1t0Q=
|
github.com/nspcc-dev/neo-go v0.92.0/go.mod h1:L7PyTzjK1j/PCAxvbKiVFkCMZDvsv82JbXlPxaH1t0Q=
|
||||||
github.com/nspcc-dev/neofs-api-go v1.22.3-0.20210202125050-01c7e17b081d h1:5zqGSPoNBIAhByjZEEDrsnSAfLUgCNBNVyWVGsbrj28=
|
github.com/nspcc-dev/neofs-api-go v1.22.3-0.20210211074553-74b91dc9a669 h1:/cEfyJKNYR1Q2+o/CTTwi3QEvUOMnhwDkPqoWBb1hUc=
|
||||||
github.com/nspcc-dev/neofs-api-go v1.22.3-0.20210202125050-01c7e17b081d/go.mod h1:G7dqincfdjBrAbL5nxVp82emF05fSVEqe59ICsoRDI8=
|
github.com/nspcc-dev/neofs-api-go v1.22.3-0.20210211074553-74b91dc9a669/go.mod h1:G7dqincfdjBrAbL5nxVp82emF05fSVEqe59ICsoRDI8=
|
||||||
github.com/nspcc-dev/neofs-crypto v0.2.0/go.mod h1:F/96fUzPM3wR+UGsPi3faVNmFlA9KAEAUQR7dMxZmNA=
|
github.com/nspcc-dev/neofs-crypto v0.2.0/go.mod h1:F/96fUzPM3wR+UGsPi3faVNmFlA9KAEAUQR7dMxZmNA=
|
||||||
github.com/nspcc-dev/neofs-crypto v0.2.3/go.mod h1:8w16GEJbH6791ktVqHN9YRNH3s9BEEKYxGhlFnp0cDw=
|
github.com/nspcc-dev/neofs-crypto v0.2.3/go.mod h1:8w16GEJbH6791ktVqHN9YRNH3s9BEEKYxGhlFnp0cDw=
|
||||||
github.com/nspcc-dev/neofs-crypto v0.3.0 h1:zlr3pgoxuzrmGCxc5W8dGVfA9Rro8diFvVnBg0L4ifM=
|
github.com/nspcc-dev/neofs-crypto v0.3.0 h1:zlr3pgoxuzrmGCxc5W8dGVfA9Rro8diFvVnBg0L4ifM=
|
||||||
|
|
Loading…
Reference in a new issue