[#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:
Leonard Lyubich 2021-02-10 23:41:32 +03:00 committed by Leonard Lyubich
parent 977229eb5a
commit 37915b53cf
3 changed files with 5 additions and 5 deletions

View file

@ -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},
}
}