Skip to content

Commit ba283ab

Browse files
committed
Update
1 parent 5f9e550 commit ba283ab

File tree

1 file changed

+1
-1
lines changed
  • opentelemetry-sdk/src/opentelemetry/sdk/_logs/_internal

1 file changed

+1
-1
lines changed

opentelemetry-sdk/src/opentelemetry/sdk/_logs/_internal/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def __init__(
195195
self.log_record.attributes = BoundedAttributes(
196196
maxlen=limits.max_attributes,
197197
attributes=self.log_record.attributes
198-
if bool(self.log_record.attributes)
198+
if self.log_record.attributes
199199
else None,
200200
immutable=False,
201201
max_value_len=limits.max_attribute_length,

0 commit comments

Comments
 (0)