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 {
|
||||
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},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue