From 71d9b6c06103a440a6590135467bc4c96174c9a1 Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Tue, 24 Sep 2024 02:25:48 +0000 Subject: [PATCH] build fix on FreeBSD (#3132) Signed-off-by: Steve Wills --- collector/netdev_bsd.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/collector/netdev_bsd.go b/collector/netdev_bsd.go index 2c3e7f4c..e1a947e7 100644 --- a/collector/netdev_bsd.go +++ b/collector/netdev_bsd.go @@ -70,3 +70,7 @@ func getNetDevStats(filter *deviceFilter, logger *slog.Logger) (netDevStats, err return netDev, nil } + +func getNetDevLabels() (map[string]map[string]string, error) { + return nil, nil +}