From 9ed3e28d94acc13b5e4829b3a335b7ba2d0f075e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Thu, 8 Oct 2026 10:24:03 +0200 Subject: [PATCH] hyperv: fix Replica VM PDH collector type (#2545) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan-Otto Kröpke --- internal/collector/hyperv/hyperv_replica_vm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/collector/hyperv/hyperv_replica_vm.go b/internal/collector/hyperv/hyperv_replica_vm.go index 3cd2af33..a8096895 100644 --- a/internal/collector/hyperv/hyperv_replica_vm.go +++ b/internal/collector/hyperv/hyperv_replica_vm.go @@ -36,7 +36,7 @@ const replicaVMQueryTimeout = 5 * time.Second // collectorReplicaVM Hyper-V Replica VM metrics type collectorReplicaVM struct { - perfDataCollectorReplicaVM *pdh.Collector + perfDataCollectorReplicaVM *pdh.Collector[perfDataCounterValuesReplicaVM] perfDataObjectReplicaVM []perfDataCounterValuesReplicaVM miQueryReplicaVM mi.Query