Skip to content

Commit

Permalink
Remove delete from collector
Browse files Browse the repository at this point in the history
  • Loading branch information
lahsivjar authored Jul 24, 2023
1 parent c8bd086 commit 7809356
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion aggregators/converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ func EventToCombinedMetrics(
}
cm.ServiceMetrics[0].Metrics.ServiceInstanceMetrics[0].Metrics = nil
sim.ReturnToVTPool()
delete(collector, partitionID)
}
if len(errs) > 0 {
return fmt.Errorf("failed while executing callback: %w", errors.Join(errs...))
Expand Down

0 comments on commit 7809356

Please sign in to comment.