Skip to content

Commit

Permalink
Timeline - Silence linter on memory aliasing
Browse files Browse the repository at this point in the history
  • Loading branch information
r1viollet committed Sep 5, 2024
1 parent c69b23b commit 9ca49c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reporter/datadog_reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ func (r *DatadogReporter) getPprofProfile() (profile *pprofile.Profile,
if r.timeline {
timestamps = traceInfo.timestamps
}
addTraceLabels(sample.Label, &traceKey, baseExec, timestamps)
addTraceLabels(sample.Label, &traceKey, baseExec, timestamps) //nolint:gomemory

count := int64(len(traceInfo.timestamps))
sample.Value = append(sample.Value, count, count*int64(r.samplingPeriod))
Expand Down

0 comments on commit 9ca49c0

Please sign in to comment.