Skip to content

Commit c4bc0a3

Browse files
authored
Merge pull request #6355 from hustrust/master
chore: fix some typos in comment
2 parents aed121f + 1bef3f5 commit c4bc0a3

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
@@ -125,7 +125,7 @@ checkNodeTraceConfiguration' trConfig =
125125
getAllNamespaces
126126

127127

128-
-- | Returns a list of all namepsaces from all tracers
128+
-- | Returns a list of all namespaces from all tracers
129129
getAllNamespaces :: [([T.Text],[T.Text])]
130130
getAllNamespaces =
131131
-- 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
@@ -174,7 +174,7 @@ launchForwarders iomgr magic
174174
ekgStore sink dpStore tracerSocketMode maxReconnectDelay =
175175
-- If 'tracerSocketMode' is not specified, it's impossible to establish
176176
-- network connection with acceptor application (for example, 'cardano-tracer').
177-
-- In this case, we should not lauch forwarders.
177+
-- In this case, we should not launch forwarders.
178178
case tracerSocketMode of
179179
Nothing -> return ()
180180
Just (socketPath, mode) ->

0 commit comments

Comments
 (0)