Skip to content

Commit e68c4fd

Browse files
committed
linting fix
1 parent 87c08bc commit e68c4fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/exporter/otlp/aws/logs/aws_batch_log_record_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def _export(self, batch_strategy: BatchLogExportStrategy) -> None:
9898
_logger.exception("Exception while exporting logs: %s", exception)
9999
detach(token)
100100

101-
def _estimate_log_size(self, log: LogData, depth: int = 3) -> int:
101+
def _estimate_log_size(self, log: LogData, depth: int = 3) -> int: # pylint: disable=too-many-branches
102102
"""
103103
Estimates the size in bytes of a log by calculating the size of its body and its attributes
104104
and adding a buffer amount to account for other log metadata information.

0 commit comments

Comments
 (0)