From 478c5159f52f2542d80c50826311e183d33ec4ce Mon Sep 17 00:00:00 2001 From: brinkcoder Date: Wed, 5 Mar 2025 01:13:17 +0100 Subject: [PATCH] switch to cc-lib --- collectors/metricCollector.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collectors/metricCollector.go b/collectors/metricCollector.go index b8da524..f827391 100644 --- a/collectors/metricCollector.go +++ b/collectors/metricCollector.go @@ -5,7 +5,7 @@ import ( "fmt" "time" - lp "github.com/ClusterCockpit/cc-energy-manager/pkg/cc-message" + lp "github.com/ClusterCockpit/cc-lib/pkg/ccMessage" ) type MetricCollector interface { @@ -14,7 +14,7 @@ type MetricCollector interface { Initialized() bool // Is metric collector initialized? Parallel() bool Read(duration time.Duration, output chan lp.CCMessage) // Read metrics from metric collector - Close() // Close / finish metric collector + Close() // Close / finish metric collector } type metricCollector struct {