From eb07812f772f91a567068ef6f6208b49331d0de8 Mon Sep 17 00:00:00 2001 From: jwierzbo Date: Fri, 29 Dec 2023 09:39:27 +0100 Subject: [PATCH] Revert old logic for arango_operator_deployment_agency_state metric (#1554) --- pkg/deployment/old_metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/deployment/old_metrics.go b/pkg/deployment/old_metrics.go index 16daecaae..6477b0d22 100644 --- a/pkg/deployment/old_metrics.go +++ b/pkg/deployment/old_metrics.go @@ -144,8 +144,8 @@ func (i *inventory) CollectMetrics(in metrics.PushMetric) { } } + in.Push(i.deploymentAgencyStateMetric.Gauge(1, deployment.GetNamespace(), deployment.GetName())) } - in.Push(i.deploymentAgencyStateMetric.Gauge(1, deployment.GetNamespace(), deployment.GetName())) } } }