fixup! Gofmt the codebase.

This commit is contained in:
2025-02-26 01:03:44 +00:00
parent 1b7890f322
commit 98a5234ff6
7 changed files with 39 additions and 71 deletions
+3 -2
View File
@@ -42,10 +42,11 @@ func createFasthttpClient(timeout int) *fasthttp.Client {
func proxyTheRequest(c *fiber.Ctx, currentEndpoint string) error {
// Setup tracing if enabled
var span trace.Span
ctx := setupTracing(c)
var ctx context.Context
if cfg.Tracing.Enable && tracer != nil {
span, ctx = tracer.StartSpan(ctx, "proxy_request")
ctx = setupTracing(c)
span, _ = tracer.StartSpan(ctx, "proxy_request")
defer span.End()
}