Skip to content

Commit

Permalink
Fix sizer
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-sili committed Feb 18, 2025
1 parent 697ed11 commit 1bf0777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/exporterhelper/logs_batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func extractLogs(srcLogs plog.Logs, capacity int, sizer sizer.LogsSizer) plog.Lo
return false
}
}
capacityLeft -= sizer.DeltaSize(sizer.ResourceLogsSize(srcRL))
capacityLeft -= sizer.ResourceLogsSize(srcRL)
srcRL.MoveTo(destLogs.ResourceLogs().AppendEmpty())
return !needToExtract
})
Expand Down

0 comments on commit 1bf0777

Please sign in to comment.