Skip to content

Commit 8d4fc80

Browse files
committed
Fix build?
1 parent f4335a7 commit 8d4fc80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

exporters/otlp/common/src/main/java/io/opentelemetry/exporter/internal/otlp/logs/LogStatelessMarshaler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public int getBinarySerializedSize(LogRecordData log, MarshalerContext context)
8787
StatelessMarshalerUtil.sizeMessageWithContext(
8888
LogRecord.BODY, log.getBodyValue(), AnyValueStatelessMarshaler.INSTANCE, context);
8989
}
90-
if (INCUBATOR_AVAILABLE) {
90+
if (IncubatingUtil.isExtendedLogRecordData(log)) {
9191
size += IncubatingUtil.sizeExtendedAttributes(log, context);
9292

9393
int droppedAttributesCount =

0 commit comments

Comments
 (0)