Skip to content

Commit

Permalink
Merge branch '2.10' into backport-10131-to-2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjux authored Aug 9, 2024
2 parents f654a7b + f05caf3 commit 1a94c5b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitlab/build-oci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ cp ../lib-injection/sitecustomize.py $BUILD_DIR/
cp auto_inject-python.version $BUILD_DIR/version
cp ../min_compatible_versions.csv $BUILD_DIR/
cp ../lib-injection/telemetry-forwarder.sh $BUILD_DIR/
chmod -R +r $BUILD_DIR
chmod -R o-w $BUILD_DIR
chmod -R g-w $BUILD_DIR

Expand Down
3 changes: 2 additions & 1 deletion ddtrace/contrib/tornado/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ def execute(func, handler, args, kwargs):
request_span.set_tag(ANALYTICS_SAMPLE_RATE_KEY, settings.get("analytics_sample_rate", True))

http_route = _find_route(handler.application.default_router.rules, handler.request)
request_span.set_tag_str("http.route", http_route)
if http_route is not None and isinstance(http_route, str):
request_span.set_tag_str("http.route", http_route)
setattr(handler.request, REQUEST_SPAN_KEY, request_span)

return func(*args, **kwargs)
Expand Down
5 changes: 5 additions & 0 deletions releasenotes/notes/fix-ssi-permissions-647693af3d5ce49d.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
fixes:
- |
SSI: This fixes incorrect file permissions on lib-injection images for 2.10.x releases.

0 comments on commit 1a94c5b

Please sign in to comment.