Skip to content

Commit 1bef3f5

Browse files
committed
chore: fix some typos in comment
Signed-off-by: hustrust <[email protected]>
1 parent ca41210 commit 1bef3f5

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

cardano-node/src/Cardano/Node/Tracing/Consistency.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ checkNodeTraceConfiguration' trConfig =
128128
getAllNamespaces
129129

130130

131-
-- | Returns a list of all namepsaces from all tracers
131+
-- | Returns a list of all namespaces from all tracers
132132
getAllNamespaces :: [([T.Text],[T.Text])]
133133
getAllNamespaces =
134134
-- NodeInfo tracer

cardano-node/test/Test/Cardano/Tracing/OrphanInstances/HardFork.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
-- The golden files are stored in the path given by 'addPrefix'.
44
--
55
-- If a new test is added and no golden file exists for it it will be created.
6-
-- This new file needs to be commited.
6+
-- This new file needs to be committed.
77
--
88
-- For now we added a couple of representative examples, however the tests are
99
-- not exhaustive.

nix/nixos/cardano-tracer-service-workbench.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ let serviceConfigToJSON =
4848
} // (cfg.prometheus or {});
4949
# Just an example for metrics compatibility mapping.
5050
# An entry means the first entry has the second entry as alias.
51-
# The Metrics is then avalable, both with the original and the mapped name.
51+
# The Metrics is then available, both with the original and the mapped name.
5252
# Only one mapping per message is supported.
5353
# metricsComp = {
5454
# "Mempool.TxsInMempool" = "Mempool.TxsInMempool.Mapped";

trace-dispatcher/doc/trace-dispatcher.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ The configurability of dispatchers provided by this library relies on:
302302

303303
2. __Runtime Reconfigurability__: Triggered by invoking `configureTracers`, enabling changes during program execution.
304304

305-
The usual form to provide a configuration is via a configuration file, wich can be in JSON or YAML format. The options that
305+
The usual form to provide a configuration is via a configuration file, which can be in JSON or YAML format. The options that
306306
can be given based on a namespace are: `severity`, `detail`, `backends` and `limiter`.
307307

308308
Backends can be a combination of `Forwarder`, `EKGBackend`, `PrometheusSimple [suffix|nosuffix] [bindhost] <port>` and
@@ -677,7 +677,7 @@ checkNodeTraceConfiguration ::
677677
-> IO [Text]
678678
```
679679

680-
An example text is "Config namespace error: i.am.an.invalid.namepace" .
680+
An example text is "Config namespace error: i.am.an.invalid.namespace" .
681681

682682
This check is performed within a `cardano-node` test case (`Test.Cardano.Tracing.NewTracing.Consistency.tests`), ensuring that it is automatically verified with each pull request.
683683

trace-forward/src/Trace/Forward/Forwarding.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ launchForwarders iomgr magic
176176
ekgStore sink dpStore tracerSocketMode maxReconnectDelay =
177177
-- If 'tracerSocketMode' is not specified, it's impossible to establish
178178
-- network connection with acceptor application (for example, 'cardano-tracer').
179-
-- In this case, we should not lauch forwarders.
179+
-- In this case, we should not launch forwarders.
180180
case tracerSocketMode of
181181
Nothing -> return ()
182182
Just (socketPath, mode) ->

0 commit comments

Comments
 (0)