21d2f8f861
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
14 lines
335 B
Go
14 lines
335 B
Go
package main
|
|
|
|
import (
|
|
nodeconfig "github.com/nspcc-dev/neofs-node/cmd/neofs-node/config/node"
|
|
"github.com/nspcc-dev/neofs-node/pkg/util/attributes"
|
|
)
|
|
|
|
func parseAttributes(c *cfg) {
|
|
if nodeconfig.Relay(c.appCfg) {
|
|
return
|
|
}
|
|
|
|
fatalOnErr(attributes.ReadNodeAttributes(&c.cfgNodeInfo.localInfo, nodeconfig.Attributes(c.appCfg)))
|
|
}
|