From 37915b53cf685c8ffd275d8826a0ff34e66b2649 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Wed, 10 Feb 2021 23:41:32 +0300 Subject: [PATCH] [#362] Pull latest neofs-api-go lib Adopt new names of constant keys to node attributes from API lib. Signed-off-by: Leonard Lyubich --- cmd/neofs-node/attributes.go | 4 ++-- go.mod | 2 +- go.sum | Bin 60763 -> 60763 bytes 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/neofs-node/attributes.go b/cmd/neofs-node/attributes.go index d2a188334..bdacd3cc2 100644 --- a/cmd/neofs-node/attributes.go +++ b/cmd/neofs-node/attributes.go @@ -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}, } } diff --git a/go.mod b/go.mod index a8540b8d5..c82e29eef 100644 --- a/go.mod +++ b/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 diff --git a/go.sum b/go.sum index 533160e595bd911cd5eeb4d7c403118a3b45d1b6..d81b10396740df91ad9ebb3d7c5a0e4f05916bd4 100644 GIT binary patch delta 113 zcmcb8i~05~<_#}$T?`Ek%uP&9jdjgUk}M5Vk}VU>%q$f$46XE&UDGPPy!|4B3