diff --git a/cmd/neofs-node/attributes.go b/cmd/neofs-node/attributes.go index d2a18833..bdacd3cc 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 a8540b8d..c82e29ee 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 533160e5..d81b1039 100644 Binary files a/go.sum and b/go.sum differ