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 authored and GitHub committed 2024-09-18 11:19:02 +02:00
commit ceb29e63fc
1 file changed
+1
@@ -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())