Reduce number of http superfluous messages
write to http.ResponseWriter create HTTP OK response, so set *ok* to disable error code in defered function
@@ -101,6 +101,7 @@ func (autoscaler *HorizontalRunnerAutoscalerGitHubWebhook) Handle(w http.Respons
// respond ok to GET / e.g. for health check
if r.Method == http.MethodGet {
+ ok = true
fmt.Fprintln(w, "webhook server is running")
return
}
