Skip to content

Commit

Permalink
removed unnecessary protoBody variable
Browse files Browse the repository at this point in the history
  • Loading branch information
vvydier committed Dec 18, 2023
1 parent dbc458f commit e58e90c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ public class LogRecordAdapter {
protoLogRecord.timeUnixNano = logRecord.timestamp.timeIntervalSince1970.toNanoseconds

if let body = logRecord.body, !body.description.isEmpty {
var protoBody = Opentelemetry_Proto_Common_V1_AnyValue()
protoLogRecord.body = protoBody
protoLogRecord.body = Opentelemetry_Proto_Common_V1_AnyValue()
}


Expand Down

0 comments on commit e58e90c

Please sign in to comment.