Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jutaro committed May 21, 2024
1 parent d3e11e5 commit 0e8a230
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion cardano-node/src/Cardano/Node/Run.hs
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,12 @@ handleNodeWithTracers cmdPc nc0 p networkMagic blockType runP = do
>>= mapM_ (traceWith $ startupTracer tracers)

traceWith (nodeVersionTracer tracers) getNodeVersion

blockForging <- snd (Api.protocolInfo runP)
traceWith (startupTracer tracers)
(BlockForgingUpdate NotEffective)
(BlockForgingUpdate (if null blockForging
then DisabledBlockForging
else EnabledBlockForging))

-- We ignore peer logging thread if it dies, but it will be killed
-- when 'handleSimpleNode' terminates.
Expand Down
2 changes: 1 addition & 1 deletion cardano-node/src/Cardano/Tracing/Tracers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ sendEKGDirectPrometheusLabel ekgDirect name labels = do
presentPrometheusM =
label . map pair
where
label pairs = "{" <> Text.intercalate "," pairs <> "} 1"
label pairs = "{" <> Text.intercalate "," pairs <> "}"
pair (k, v) = k <> "=\"" <> v <> "\""

--------------------------------------------------------------------------------
Expand Down

0 comments on commit 0e8a230

Please sign in to comment.