forked from TrueCloudLab/frostfs-node
Alex Vanin
20de74a505
Due to source code relocation from GitHub. Signed-off-by: Alex Vanin <a.vanin@yadro.com>
14 lines
359 B
Go
14 lines
359 B
Go
package main
|
|
|
|
import (
|
|
nodeconfig "git.frostfs.info/TrueCloudLab/frostfs-node/cmd/frostfs-node/config/node"
|
|
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/util/attributes"
|
|
)
|
|
|
|
func parseAttributes(c *cfg) {
|
|
if nodeconfig.Relay(c.appCfg) {
|
|
return
|
|
}
|
|
|
|
fatalOnErr(attributes.ReadNodeAttributes(&c.cfgNodeInfo.localInfo, nodeconfig.Attributes(c.appCfg)))
|
|
}
|