From 4fa315dce50acd289946266fb09ccb230c1f8fff Mon Sep 17 00:00:00 2001 From: Denis Krivak Date: Sat, 9 Sep 2023 12:41:50 +0200 Subject: [PATCH] Fix types. --- collector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector.go b/collector.go index a97f374..dbb8ed1 100644 --- a/collector.go +++ b/collector.go @@ -107,7 +107,7 @@ func (c *Collector) collectCMSSystemInfo( func (c *Collector) collectLANUserTable( ctx context.Context, reg *prometheus.Registry, - client *ConnectBox, + client MetricsClient, ) { clientGauge := prometheus.NewGaugeVec(prometheus.GaugeOpts{ Name: "connect_box_lan_client",