chore: unify naming for node related types
This commit is contained in:
parent
bbee40ec98
commit
4d44012d06
12 changed files with 72 additions and 53 deletions
|
|
@ -76,8 +76,9 @@ func main() {
|
|||
zerolog.SetGlobalLevel(levelToZerolog(config.Node.LogLevel))
|
||||
|
||||
self := types.NewNode(
|
||||
fmt.Sprintf("%v:%v", config.Node.Endpoint, config.Node.Port),
|
||||
config.Node.Hostname,
|
||||
config.Node.Address,
|
||||
config.Node.Port,
|
||||
config.Roles,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue