2020-09-22 12:59:09 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2023-03-07 13:38:26 +00:00
|
|
|
nodeconfig "git.frostfs.info/TrueCloudLab/frostfs-node/cmd/frostfs-node/config/node"
|
|
|
|
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/util/attributes"
|
2020-09-22 12:59:09 +00:00
|
|
|
)
|
|
|
|
|
2022-06-08 23:18:26 +00:00
|
|
|
func parseAttributes(c *cfg) {
|
|
|
|
if nodeconfig.Relay(c.appCfg) {
|
|
|
|
return
|
2020-09-22 12:59:09 +00:00
|
|
|
}
|
|
|
|
|
2022-06-08 23:18:26 +00:00
|
|
|
fatalOnErr(attributes.ReadNodeAttributes(&c.cfgNodeInfo.localInfo, nodeconfig.Attributes(c.appCfg)))
|
2020-09-22 12:59:09 +00:00
|
|
|
}
|