From 1f96bee2faf7e1f1da55d7135b2f1777ee3add9a Mon Sep 17 00:00:00 2001 From: bLd75 <18489502+bLd75@users.noreply.github.com> Date: Mon, 30 Oct 2023 16:50:32 +0400 Subject: [PATCH] fix indent --- exporter/collector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exporter/collector.go b/exporter/collector.go index b9a5ab10..14125bb2 100644 --- a/exporter/collector.go +++ b/exporter/collector.go @@ -96,7 +96,7 @@ func (mc JSONMetricCollector) Collect(ch chan<- prometheus.Metric) { // When value starts by '0x', convert hex to decimal if strings.HasPrefix(value, "0x") { value = formatHex(value) - } + } if floatValue, err := SanitizeValue(value); err == nil { metric := prometheus.MustNewConstMetric(