From 6fd47d431eee78e0a2e6189a069f2301d6e9c65e Mon Sep 17 00:00:00 2001 From: Fabian Seidl <fabian.seidl@h-da.de> Date: Thu, 18 Aug 2022 17:25:30 +0200 Subject: [PATCH] linter pleasing --- controller/eventService/Service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/controller/eventService/Service.go b/controller/eventService/Service.go index e891e4ad9..0ace2760f 100644 --- a/controller/eventService/Service.go +++ b/controller/eventService/Service.go @@ -85,6 +85,7 @@ func (e *EventService) PublishEvent(topic string, event event.Event) error { return nil } +// RetryPublish is used to retry publishing an event after a failed attempt. func (e *EventService) RetryPublish(topic string, event event.Event) error { ctx := context.Background() backOff := retry.NewConstant(2 * time.Second) -- GitLab