Skip to content

Commit 8eea5fb

Browse files
committed
WIP
1 parent b7cb5a8 commit 8eea5fb

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

cardano-config/cardano-config.cabal

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ license-file: LICENSE
1010
author: Javier Sagredo
1111
maintainer: [email protected]
1212
copyright:
13-
INTERSECT 2025
13+
INTERSECT 2026
1414

1515
category: Data
1616
build-type: Simple
@@ -52,7 +52,6 @@ library
5252
filepath,
5353
iohk-monitoring,
5454
iproute,
55-
mtl,
5655
network,
5756
optparse-applicative,
5857
sop-core,

cardano-config/src/Cardano/Configuration/File/Tracing.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ parseTracer p obj = obj .:= Aeson.fromText (proxyName p)
244244

245245
data TracingSystem
246246
= LegacyTracing TraceSelection
247-
| TraceDispatcher TraceSelection
247+
| TraceDispatcher
248248
deriving (Generic, Show)
249249

250250
data TracingConfiguration = TracingConfiguration
@@ -263,7 +263,7 @@ instance FromJSON TracingConfiguration where
263263
Just True -> do
264264
newSystem <- v .:? "UseTraceDispatcher"
265265
let tr = case newSystem of
266-
Just True -> TraceDispatcher
266+
Just True -> const TraceDispatcher
267267
_ -> LegacyTracing
268268
Just . tr <$> parseJSON (Object v)
269269
_ ->

0 commit comments

Comments
 (0)