Skip to content

Commit 67de205

Browse files
committed
resolve merge conflicts with main
2 parents 9ba79f4 + af9098c commit 67de205

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.gitlab/prepare-oci-package.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/bin/bash
22
set -eo pipefail
33

4+
if [ "$OS" != "linux" ]; then
5+
echo "Only linux packages are supported. Exiting"
6+
exit 0
7+
fi
8+
49
if [ -n "$CI_COMMIT_TAG" ] && [ -z "$PYTHON_PACKAGE_VERSION" ]; then
510
PYTHON_PACKAGE_VERSION=${CI_COMMIT_TAG##v}
611
fi

ddtrace/contrib/internal/aiohttp/middlewares.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,14 @@ async def attach_context(request):
5959
request[REQUEST_CONFIG_KEY] = app[CONFIG_KEY]
6060
try:
6161
response = await handler(request)
62+
<<<<<<< HEAD
6263
if not config.aiohttp["disable_stream_timing_for_mem_leak"]:
6364
if isinstance(response, web.StreamResponse):
6465
request.task.add_done_callback(lambda _: finish_request_span(request, response))
66+
=======
67+
if isinstance(response, web.StreamResponse):
68+
request.task.add_done_callback(lambda _: finish_request_span(request, response))
69+
>>>>>>> main
6570
return response
6671
except Exception:
6772
req_span.set_traceback()

0 commit comments

Comments
 (0)