fix linting

This commit is contained in:
stubbsta 2026-01-07 14:07:39 +02:00
parent c9e9be7862
commit 0de176eb7e
No known key found for this signature in database

View File

@ -13,9 +13,7 @@ proc new*(T: type RetryStrategy): RetryStrategy =
return RetryStrategy(retryDelay: DefaultRetryDelay, retryCount: DefaultRetryCount)
proc retryWrapper*[T](
retryStrategy: RetryStrategy,
errStr: string,
body: proc(): Future[T] {.async.},
retryStrategy: RetryStrategy, errStr: string, body: proc(): Future[T] {.async.}
): Future[Result[T, string]] {.async.} =
var retryCount = retryStrategy.retryCount
var lastError = ""