From d5ae3181a7cf21b570a9a7398fc84406a355eecb Mon Sep 17 00:00:00 2001 From: soonsouth Date: Tue, 10 Dec 2024 11:24:00 +0800 Subject: [PATCH] chore: fix some typos in comment Signed-off-by: soonsouth --- scripts/byron-to-alonzo/update-4.sh | 2 +- trace-dispatcher/doc/trace-dispatcher.md | 2 +- trace-dispatcher/src/Cardano/Logging/DocuGenerator.hs | 4 ++-- trace-dispatcher/src/Cardano/Logging/Forwarding.hs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/byron-to-alonzo/update-4.sh b/scripts/byron-to-alonzo/update-4.sh index 17fab553861..3c27034ad65 100755 --- a/scripts/byron-to-alonzo/update-4.sh +++ b/scripts/byron-to-alonzo/update-4.sh @@ -6,7 +6,7 @@ set -e # This script will initiate the transition to protocol version 4 (Mary). # You need to provide the current epoch as a positional argument (the Shelley -# update system requires this to be includded in the update proposal). +# update system requires this to be included in the update proposal). # In order for this to be successful, you need to already be in protocol version diff --git a/trace-dispatcher/doc/trace-dispatcher.md b/trace-dispatcher/doc/trace-dispatcher.md index 120d4c52bd8..bb4a0b3fdc0 100644 --- a/trace-dispatcher/doc/trace-dispatcher.md +++ b/trace-dispatcher/doc/trace-dispatcher.md @@ -669,7 +669,7 @@ checkNodeTraceConfiguration :: -> IO [Text] ``` -An example text is "Config namespace error: i.am.an.invalid.namepace" . +An example text is "Config namespace error: i.am.an.invalid.namespace" . 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. diff --git a/trace-dispatcher/src/Cardano/Logging/DocuGenerator.hs b/trace-dispatcher/src/Cardano/Logging/DocuGenerator.hs index 7a2b023d995..38dac02e352 100644 --- a/trace-dispatcher/src/Cardano/Logging/DocuGenerator.hs +++ b/trace-dispatcher/src/Cardano/Logging/DocuGenerator.hs @@ -114,7 +114,7 @@ documentTracer' hook tracer = do tr' <- hook tracer documentTracer tr' --- This fuction calls document tracers and returns a DocTracer result +-- This function calls document tracers and returns a DocTracer result documentTracer :: forall a. MetaTrace a => Trace IO a @@ -309,7 +309,7 @@ documentTracer tracer = do --- | Calls the tracers in a documetation control mode, +-- | Calls the tracers in a documentation control mode, -- and returns a DocCollector, from which the documentation gets generated documentTracersRun :: forall a. MetaTrace a => [Trace IO a] -> IO DocCollector documentTracersRun tracers = do diff --git a/trace-dispatcher/src/Cardano/Logging/Forwarding.hs b/trace-dispatcher/src/Cardano/Logging/Forwarding.hs index f23a8e7917e..f6e5c38ee22 100644 --- a/trace-dispatcher/src/Cardano/Logging/Forwarding.hs +++ b/trace-dispatcher/src/Cardano/Logging/Forwarding.hs @@ -141,7 +141,7 @@ launchForwarders iomgr magic ekgStore sink dpStore tracerSocketMode = -- If 'tracerSocketMode' is not specified, it's impossible to establish -- network connection with acceptor application (for example, 'cardano-tracer'). - -- In this case, we should not lauch forwarders. + -- In this case, we should not launch forwarders. case tracerSocketMode of Nothing -> return () Just (socketPath, mode) ->