This commit is contained in:
Ivan FB 2026-04-04 18:05:25 +02:00
parent ead4785ac2
commit e8f7adff4d
No known key found for this signature in database
GPG Key ID: DF0C67A04C543270
3 changed files with 6 additions and 4 deletions

View File

@ -100,4 +100,4 @@ when isMainModule:
info "Node setup complete"
runForever()
runForever()

View File

@ -483,7 +483,8 @@ with the drawback of consuming some more bandwidth.""",
restAddress* {.
desc: "Listening address of the REST HTTP server.",
defaultValue: IpAddress(family: IpAddressFamily.IPv4, address_v4: [127'u8, 0, 0, 1]),
defaultValue:
IpAddress(family: IpAddressFamily.IPv4, address_v4: [127'u8, 0, 0, 1]),
name: "rest-address"
.}: IpAddress
@ -523,7 +524,8 @@ with the drawback of consuming some more bandwidth.""",
metricsServerAddress* {.
desc: "Listening address of the metrics server.",
defaultValue: IpAddress(family: IpAddressFamily.IPv4, address_v4: [127'u8, 0, 0, 1]),
defaultValue:
IpAddress(family: IpAddressFamily.IPv4, address_v4: [127'u8, 0, 0, 1]),
name: "metrics-server-address"
.}: IpAddress

View File

@ -530,4 +530,4 @@ proc decodeNodeConfigFromJson*(
reader.readValue(val)
except IOError as err:
raise (ref SerializationError)(msg: err.msg)
return val
return val