Skip to content

Commit aa71f2a

Browse files
committed
not much we can do
1 parent 8a9c2b3 commit aa71f2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/corehttp/gateway_handler_codec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func (i *gatewayHandler) serverCodecHTML(ctx context.Context, w http.ResponseWri
135135
</html>
136136
`, contentPath.String())
137137

138-
w.Write([]byte(body))
138+
_, _ = w.Write([]byte(body))
139139
}
140140

141141
func (i *gatewayHandler) serveCodecRaw(ctx context.Context, w http.ResponseWriter, r *http.Request, resolvedPath ipath.Resolved, contentPath ipath.Path, contentType string) {

0 commit comments

Comments
 (0)