Skip to content

Commit 138b9a4

Browse files
committed
Fixes driskell#294
1 parent 9bca284 commit 138b9a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lc-lib/endpoint/sink.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ func (f *Sink) ForceFailure(endpoint *Endpoint) {
243243
// recoverFailed removes an endpoint from the failed list and marks it ready
244244
func (f *Sink) recoverFailed(endpoint *Endpoint) {
245245
// Ignore if we haven't failed
246-
if !endpoint.IsAlive() {
246+
if !endpoint.IsFailed() {
247247
return
248248
}
249249

0 commit comments

Comments
 (0)