From 6d5be34281cd3fca0b9f66b59829c5c44589829c Mon Sep 17 00:00:00 2001 From: Michael Seiwald Date: Tue, 16 Nov 2021 00:50:04 +0100 Subject: [PATCH] fix: Don't wait for context when listening fails (#1428) Signed-off-by: Michael Seiwald --- eventsources/sources/minio/start.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/eventsources/sources/minio/start.go b/eventsources/sources/minio/start.go index 7c6480d2bb9d..7e47b53b98c0 100644 --- a/eventsources/sources/minio/start.go +++ b/eventsources/sources/minio/start.go @@ -101,8 +101,6 @@ func (el *EventListener) StartListening(ctx context.Context, dispatch func([]byt } } - <-ctx.Done() - log.Info("event source is stopped") return nil }