Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
Fix unrelated typos found while exploring the code.
  • Loading branch information
endorama committed Aug 14, 2024
1 parent 57265b3 commit 3f629f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aggregators/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func WithLimits(limits Limits) Option {
// WithProcessor configures the processor for handling of the aggregated
// metrics post harvest. Processor is called for each decoded combined
// metrics after they are harvested. CombinedMetrics passed to the
// processor is pooled and it is releasd back to the pool after processor
// processor is pooled and it is released back to the pool after processor
// has returned. If the processor mutates the CombinedMetrics such that it
// can no longer access the pooled objects, then the Processor should
// release the objects back to the pool.
Expand Down
2 changes: 1 addition & 1 deletion aggregators/converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ func eventToCombinedMetrics(
}

// CombinedMetricsToBatch converts CombinedMetrics to a batch of APMEvents.
// Events in the batch are popualted using vtproto's sync pool and should be
// Events in the batch are populated using vtproto's sync pool and should be
// released back to the pool using `APMEvent#ReturnToVTPool`.
func CombinedMetricsToBatch(
cm *aggregationpb.CombinedMetrics,
Expand Down

0 comments on commit 3f629f5

Please sign in to comment.