Skip to content

Commit

Permalink
Revert convertLogRecord rename
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonip committed Jan 23, 2024
1 parent cc45742 commit 356a7ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions input/otlp/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ func (c *Consumer) convertInstrumentationLibraryLogs(
) {
otelLogs := in.LogRecords()
for i := 0; i < otelLogs.Len(); i++ {
event := c.convertLogRecordWithScope(otelLogs.At(i), in.Scope(), baseEvent, timeDelta)
event := c.convertLogRecord(otelLogs.At(i), in.Scope(), baseEvent, timeDelta)
*out = append(*out, event)
}
}

func (c *Consumer) convertLogRecordWithScope(
func (c *Consumer) convertLogRecord(
record plog.LogRecord,
scope pcommon.InstrumentationScope,
baseEvent *modelpb.APMEvent,
Expand Down

0 comments on commit 356a7ee

Please sign in to comment.