Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

feat: Added option for configuring number of retries for http event sender, as well as additional logging #467

Merged
merged 1 commit into from
May 23, 2022

Conversation

bacherfl
Copy link
Member

Backport of #465

…ender, as well as additional logging (#465)

* feat: Added option for configuring number of retries for http event sender, as well as additional logging

Signed-off-by: Florian Bacher <[email protected]>

* added option for injecting retry callback

Signed-off-by: Florian Bacher <[email protected]>

* added option for injecting retry callback

Signed-off-by: Florian Bacher <[email protected]>

* remove retry callback option

Signed-off-by: Florian Bacher <[email protected]>

* remove retry callback option unit test

Signed-off-by: Florian Bacher <[email protected]>

* added comment

Signed-off-by: Florian Bacher <[email protected]>
(cherry picked from commit 2052e14)
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@@ -41,16 +41,27 @@ const keptnSpecVersionCEExtension = "shkeptnspecversion"
const triggeredIDCEExtension = "triggeredid"
const keptnGitCommitIDCEExtension = "gitcommitid"

type HTTPSenderOption func(httpSender *HTTPEventSender)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[golint] reported by reviewdog 🐶
exported type HTTPSenderOption should have comment or be unexported

@bacherfl bacherfl merged commit 293e3a3 into 0.15.x May 23, 2022
@bacherfl bacherfl deleted the feat/http-retry-option branch May 23, 2022 09:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants