diff --git a/contrib/internal/httptrace/httptrace_api_gateway_test.go b/contrib/internal/httptrace/httptrace_api_gateway_test.go index fad6ef1dae..ca38b8c335 100644 --- a/contrib/internal/httptrace/httptrace_api_gateway_test.go +++ b/contrib/internal/httptrace/httptrace_api_gateway_test.go @@ -37,10 +37,10 @@ func loadTest(t *testing.T) { mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { if r.URL.Path == "/error" { w.WriteHeader(http.StatusInternalServerError) - _ = json.NewEncoder(w).Encode(map[string]string{"message": "ERROR"}) + json.NewEncoder(w).Encode(map[string]string{"message": "ERROR"}) } else { w.WriteHeader(http.StatusOK) - _ = json.NewEncoder(w).Encode(map[string]string{"message": "OK"}) + json.NewEncoder(w).Encode(map[string]string{"message": "OK"}) } }) appListener = httptest.NewServer(mux)