You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.
When using webhook to export Kubernetes event, if the webhook return 200, it logs it as error "not 200/201". Log severity is debug,error. This is due to incorrect condition at
pkg/sinks/webhook.go line 56
Condition should be treat all http status between [200-204] as success
if resp.StatusCode > 204 {
...
}
The text was updated successfully, but these errors were encountered:
sbrakl
changed the title
In correct condition for error for webhook
Incorrect condition for error logging for webhook sink
Jul 22, 2020
When using webhook to export Kubernetes event, if the webhook return 200, it logs it as error "not 200/201". Log severity is debug,error. This is due to incorrect condition at
pkg/sinks/webhook.go line 56
Condition should be treat all http status between [200-204] as success
The text was updated successfully, but these errors were encountered: