forked from TrueCloudLab/frostfs-node
923f84722a
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
14 lines
347 B
Go
14 lines
347 B
Go
package main
|
|
|
|
import (
|
|
nodeconfig "github.com/TrueCloudLab/frostfs-node/cmd/frostfs-node/config/node"
|
|
"github.com/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)))
|
|
}
|