Skip to content

Commit

Permalink
fix: Don't wait for context when listening fails (#1428)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Seiwald <michael.seiwald@smartify-it.de>
  • Loading branch information
Michael Seiwald committed Nov 15, 2021
1 parent f0091ea commit 6d5be34
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions eventsources/sources/minio/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ func (el *EventListener) StartListening(ctx context.Context, dispatch func([]byt
}
}

<-ctx.Done()

log.Info("event source is stopped")
return nil
}
Expand Down

0 comments on commit 6d5be34

Please sign in to comment.