Skip to content

Commit

Permalink
Fix compilation after #1340 merge
Browse files Browse the repository at this point in the history
  • Loading branch information
aartigao committed Oct 8, 2024
1 parent 2441b86 commit 714550e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/core/src/main/scala/fs2/kafka/KafkaProducer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ object KafkaProducer {
Async[F]
.race(
Async[F]
.fromFutureCancelable(Async[F].delay(produceRecordError.future, Async[F].unit)),
.fromFutureCancelable(Async[F].delay((produceRecordError.future, Async[F].unit))),
produceRecords(produceRecordError.some)
)
.rethrow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ object TransactionalKafkaProducer {
Async[F]
.race(
Async[F].fromFutureCancelable(
Async[F].delay(produceRecordError.future, Async[F].unit)
Async[F].delay((produceRecordError.future, Async[F].unit))
),
produceRecords(produceRecordError.some)
)
Expand Down

0 comments on commit 714550e

Please sign in to comment.