chore: fix typo

This commit is contained in:
fryorcraken 2024-06-28 20:53:41 +10:00 committed by fryorcraken
parent 19c110eee2
commit b4f522ddc5
4 changed files with 7 additions and 7 deletions

View File

@ -112,10 +112,10 @@ when isMainModule:
nodeHealthMonitor = WakuNodeHealthMonitor()
nodeHealthMonitor.setOverallHealth(HealthStatus.INITIALIZING)
let restServer = rest_server_builder.startRestServerEsentials(
let restServer = rest_server_builder.startRestServerEssentials(
nodeHealthMonitor, wakuConf
).valueOr:
error "Starting esential REST server failed.", error = $error
error "Starting essential REST server failed.", error = $error
quit(QuitFailure)
var wakuApp = Waku.init(wakuConf).valueOr:

View File

@ -42,7 +42,7 @@ when isMainModule:
error "failure while loading the configuration", error = error
quit(QuitFailure)
## Also called within Waku.init. The call to startRestServerEsentials needs the following line
## Also called within Waku.init. The call to startRestServerEssentials needs the following line
logging.setupLog(conf.logLevel, conf.logFormat)
case conf.cmd
@ -58,10 +58,10 @@ when isMainModule:
nodeHealthMonitor = WakuNodeHealthMonitor()
nodeHealthMonitor.setOverallHealth(HealthStatus.INITIALIZING)
let restServer = rest_server_builder.startRestServerEsentials(
let restServer = rest_server_builder.startRestServerEssentials(
nodeHealthMonitor, conf
).valueOr:
error "Starting esential REST server failed.", error = $error
error "Starting essential REST server failed.", error = $error
quit(QuitFailure)
var waku = Waku.init(conf).valueOr:

View File

@ -53,7 +53,7 @@ type WakuNodeConf* = object
logFormat* {.
desc:
"Specifies what kind of logs should be written to stdout. Suported formats: TEXT, JSON",
"Specifies what kind of logs should be written to stdout. Supported formats: TEXT, JSON",
defaultValue: logging.LogFormat.TEXT,
name: "log-format"
.}: logging.LogFormat

View File

@ -29,7 +29,7 @@ import
var restServerNotInstalledTab {.threadvar.}: TableRef[string, string]
restServerNotInstalledTab = newTable[string, string]()
proc startRestServerEsentials*(
proc startRestServerEssentials*(
nodeHealthMonitor: WakuNodeHealthMonitor, conf: WakuNodeConf
): Result[WakuRestServerRef, string] =
if not conf.rest: