From 923d28be41dfbff042f11479c689707bd1d283a0 Mon Sep 17 00:00:00 2001 From: Jordan Wong Date: Fri, 20 Dec 2024 13:10:59 -0500 Subject: [PATCH] More cleanup --- contrib/internal/httptrace/httptrace_api_gateway_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)