Skip to content
Snippets Groups Projects
Unverified Commit 4492d422 authored by Joel Takvorian's avatar Joel Takvorian Committed by GitHub
Browse files

nit: fix linter warning (#551)

parent 96f9acf9
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@ type BpfFlowContent struct {
AdditionalMetrics *ebpf.BpfAdditionalMetrics
}
// nolint:gocritic // hugeParam: metric is reported as heavy; but it needs to be copied anyway, we don't want a pointer here
func NewBpfFlowContent(metrics ebpf.BpfFlowMetrics) BpfFlowContent {
return BpfFlowContent{BpfFlowMetrics: &metrics}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment