2020-09-22 15:59:09 +03:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2023-03-07 16:38:26 +03: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 15:59:09 +03:00
|
|
|
)
|
|
|
|
|
2022-06-09 02:18:26 +03:00
|
|
|
func parseAttributes(c *cfg) {
|
|
|
|
if nodeconfig.Relay(c.appCfg) {
|
|
|
|
return
|
2020-09-22 15:59:09 +03:00
|
|
|
}
|
|
|
|
|
2022-06-09 02:18:26 +03:00
|
|
|
fatalOnErr(attributes.ReadNodeAttributes(&c.cfgNodeInfo.localInfo, nodeconfig.Attributes(c.appCfg)))
|
2020-09-22 15:59:09 +03:00
|
|
|
}
|