From 4492d42259dba2877d5faa861aff0ff69cb2d4fc Mon Sep 17 00:00:00 2001
From: Joel Takvorian <joel.takvorian@qaraywa.net>
Date: Wed, 5 Feb 2025 15:39:00 +0100
Subject: [PATCH] nit: fix linter warning (#551)

---
 pkg/model/flow_content.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pkg/model/flow_content.go b/pkg/model/flow_content.go
index 7c320201..7157f3ca 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}
 }
-- 
GitLab