From e33eab94286232af97582359a97054bf9e928b2a Mon Sep 17 00:00:00 2001 From: Rodney Osodo Date: Tue, 1 Oct 2024 16:16:05 +0300 Subject: [PATCH] style(proxy): one line const definition --- proxy/api/transport.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/proxy/api/transport.go b/proxy/api/transport.go index 9c20671..2c2c177 100644 --- a/proxy/api/transport.go +++ b/proxy/api/transport.go @@ -17,9 +17,7 @@ import ( "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" ) -const ( - ContentType = "application/json" -) +const ContentType = "application/json" func MakeHandler(svc proxy.Service, logger *slog.Logger, instanceID string) http.Handler { opts := []kithttp.ServerOption{