diff --git a/pkg/model/flow_content.go b/pkg/model/flow_content.go index 7c3202012cd614a56d30f2d4b9330d23ecd68bd2..7157f3ca341a2d63ac0204797d53a2a4284568a2 100644 --- a/pkg/model/flow_content.go +++ b/pkg/model/flow_content.go @@ -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} }