Skip to content

Commit 653cacd

Browse files
committed
Fix
1 parent 71dfe6b commit 653cacd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manager/src/main/scala/com/devsisters/shardcake/ShardManager.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class ShardManager(
154154
.map(_.flatten[PodAddress].toSet)
155155
failedPods = failedPingedPods ++ failedUnassignedPods ++ failedAssignedPods
156156
// check if failing pods are still up
157-
_ <- ZIO.foreachDiscard(failedPods)(notifyUnhealthyPod).forkDaemon
157+
_ <- ZIO.foreachDiscard(failedPods)(notifyUnhealthyPod(_)).forkDaemon
158158
_ <- ZIO.logWarning(s"Failed to rebalance pods: $failedPods").when(failedPods.nonEmpty)
159159
// retry rebalancing later if there was any failure
160160
_ <- (Clock.sleep(config.rebalanceRetryInterval) *> rebalance(rebalanceImmediately)).forkDaemon

0 commit comments

Comments
 (0)