Merge pull request #10084 from owncloud/collaboration_tracing_fix

fix: missing return in the tracing middleware if we want to skip it
This commit is contained in:
Juan Pablo Villafañez
2024-09-18 11:19:02 +02:00
committed by GitHub

View File

@@ -21,6 +21,7 @@ func CollaborationTracingMiddleware(next http.Handler) http.Handler {
if err != nil {
// if we can't get the context, skip this middleware
next.ServeHTTP(w, r)
return
}
span := trace.SpanFromContext(r.Context())