Skip to content

Commit

Permalink
Update receiver/receivertest/contract_checker.go
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitrii Anoshin <[email protected]>
  • Loading branch information
atoulme and dmitryax authored Feb 17, 2024
1 parent 4b213aa commit 0e31a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion receiver/receivertest/contract_checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ func (m *mockConsumer) ConsumeMetrics(_ context.Context, data pmetric.Metrics) e
return m.consume(ids)
}

// idSetFromLogs computes an idSet from given plog.Logs. The idSet will contain ids of all log records.
// idSetFromLogs computes an idSet from given pmetric.Metrics. The idSet will contain ids of all metric data points.
func idSetFromMetrics(data pmetric.Metrics) (idSet, error) {
ds := map[UniqueIDAttrVal]bool{}
rss := data.ResourceMetrics()
Expand Down

0 comments on commit 0e31a69

Please sign in to comment.