From 77c27b395b49ffeceabfa5b558552ffa5aa4ff9a Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Wed, 14 Aug 2024 09:37:33 +0200 Subject: [PATCH] removed obsolete comments. --- cmd/converge/prometheus.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmd/converge/prometheus.go b/cmd/converge/prometheus.go index 109ea85..0c6972f 100644 --- a/cmd/converge/prometheus.go +++ b/cmd/converge/prometheus.go @@ -215,12 +215,6 @@ func updateDurations() { } func updateMetricsImpl(state *models.State) { - // This implemnetation has a small probability that the metric will be in a partially - // initialized state. This is however unlikely. It would lead to in incorrect determination - // that an agent or client is not available. However, each agent and client will have a UID - // so that is still possible to identify the client or agent even though some values might - // become 0. - agentGuids := make(map[string]models.Agent) clientGuids := make(map[string]models.Client)