From 4f8d06e99235d9bab49790bb7a4ee2a48fc44403 Mon Sep 17 00:00:00 2001 From: Alex Gartner Date: Tue, 3 Sep 2024 13:49:05 -0700 Subject: [PATCH] discard error --- docs/openapi/openapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/openapi/openapi.go b/docs/openapi/openapi.go index 9dc621b6ae..eba900acb5 100644 --- a/docs/openapi/openapi.go +++ b/docs/openapi/openapi.go @@ -26,6 +26,6 @@ func RegisterOpenAPIService(router *mux.Router) { func openAPIHandler() http.HandlerFunc { return func(w http.ResponseWriter, _ *http.Request) { w.Header().Set("Content-Type", "text/html; charset=utf-8") - w.Write(html) + _, _ = w.Write(html) } }