refactor: hlint
This commit is contained in:
parent
9213b7554a
commit
22882c1fa0
@ -164,9 +164,7 @@ withFailover' testTarget' f@Failover{..} mode detAcceptable act = withFailoverRe
|
||||
-> fromMaybe (goFirst failover') $ P.next failover'
|
||||
| otherwise
|
||||
-> failover'
|
||||
where goFirst l = case P.previous l of
|
||||
Nothing -> l
|
||||
Just l' -> goFirst l'
|
||||
where goFirst l = maybe l goFirst $ P.previous l
|
||||
|
||||
$logDebugS "withFailover'" $ tshow (hashUnique alreadyTested) <> " using item " <> failoverLabel
|
||||
res' <- handleAll (\err -> $logErrorS "withFailover'" (tshow (hashUnique alreadyTested) <> " exception during act or detAcceptable: " <> tshow err) >> recordFailure >> throwM err) $
|
||||
|
||||
Loading…
Reference in New Issue
Block a user