diff --git a/pkg/monitoring/nl.go b/pkg/monitoring/nl.go index fdb5d806..b5c06c70 100644 --- a/pkg/monitoring/nl.go +++ b/pkg/monitoring/nl.go @@ -44,7 +44,7 @@ func NewNetlinkCollector() (Collector, error) { ), valueType: prometheus.GaugeValue, }, - netlink: &nl.Manager{}, + netlink: nl.NewManager(&nl.Toolkit{}), } collector.name = nlCollectorName collector.logger = ctrl.Log.WithName("netlink.collector")