Skip to content

Commit 554baa2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2369ba1 commit 554baa2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/workflows/recipe/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ def unwrap_recipe(header, message):
7373
if header.get("workflows-recipe") in {True, "True", "true", 1}:
7474
otel_logs = None
7575
rw = RecipeWrapper(message=message, transport=transport_layer)
76-
77-
if hasattr(rw,"environment") and rw.environment.get("ID"):
76+
77+
if hasattr(rw, "environment") and rw.environment.get("ID"):
7878
# Extract recipe ID from environment and add to current span
7979
span = trace.get_current_span()
8080
recipe_id = rw.environment.get("ID")

0 commit comments

Comments
 (0)