File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
decentralized-message-queue/src/DMQ Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -637,12 +637,12 @@ mkDiffusionConfiguration
637
637
updateLedgerPeerSnapshot topologyDir readLedgerPeerPath writeVar = do
638
638
mPeerSnapshotFile <- atomically readLedgerPeerPath
639
639
mLedgerPeerSnapshot <- case mPeerSnapshotFile of
640
- Nothing -> pure Nothing
641
- Just peerSnapshotFile | FilePath. isRelative peerSnapshotFile -> do
642
- peerSnapshotFile' <- Directory. makeAbsolute $ topologyDir FilePath. </> peerSnapshotFile
643
- Just <$> readPeerSnapshotFileOrError peerSnapshotFile'
644
- Just peerSnapshotFile ->
645
- Just <$> readPeerSnapshotFileOrError peerSnapshotFile
640
+ _ -> pure Nothing
641
+ -- Just peerSnapshotFile | FilePath.isRelative peerSnapshotFile -> do
642
+ -- peerSnapshotFile' <- Directory.makeAbsolute $ topologyDir FilePath.</> peerSnapshotFile
643
+ -- Just <$> readPeerSnapshotFileOrError peerSnapshotFile'
644
+ -- Just peerSnapshotFile ->
645
+ -- Just <$> readPeerSnapshotFileOrError peerSnapshotFile
646
646
atomically . writeVar $ mLedgerPeerSnapshot
647
647
pure mLedgerPeerSnapshot
648
648
You can’t perform that action at this time.
0 commit comments