Skip to content

Commit e388901

Browse files
committed
var name
1 parent eebc385 commit e388901

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,10 +347,10 @@ def append_envelope(envelope):
347347
continue
348348

349349
if item.type in ("metric", "log", "span"):
350-
for json in item.payload.json["items"]:
351-
t = {k: v for k, v in json.items() if k != "attributes"}
350+
for i in item.payload.json["items"]:
351+
t = {k: v for k, v in i.items() if k != "attributes"}
352352
t["attributes"] = {
353-
k: v["value"] for k, v in json["attributes"].items()
353+
k: v["value"] for k, v in i["attributes"].items()
354354
}
355355
telemetry.append(UnwrappedItem(type=item.type, payload=t))
356356
else:

0 commit comments

Comments
 (0)