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
637637 updateLedgerPeerSnapshot topologyDir readLedgerPeerPath writeVar = do
638638 mPeerSnapshotFile <- atomically readLedgerPeerPath
639639 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
646646 atomically . writeVar $ mLedgerPeerSnapshot
647647 pure mLedgerPeerSnapshot
648648
You can’t perform that action at this time.
0 commit comments