From cbde5e46c0c6987f24228c28f640e436893c8656 Mon Sep 17 00:00:00 2001 From: Lucas Walter Date: Mon, 25 Nov 2024 09:28:44 -0800 Subject: [PATCH] Minor formatting changes Remove extra whitespace --- main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.go b/main.go index 0295872..8fc07f3 100644 --- a/main.go +++ b/main.go @@ -201,7 +201,6 @@ func runAPIPolling(done chan error, url, token string, yamlConfig YamlConfig, re } } else { zap.L().Sugar().Debugf("Skipped value because query isn't done. Timespan: %v, Value: %v", job.Timespan, floatValue) - } } time.Sleep(5000 * time.Millisecond) @@ -223,7 +222,6 @@ func (m *MetricMap) Register() error { } func (m *MetricMap) UpdateMetricValue(metricName, timespan, repo string, value float64, staticLabels []MetricLabel) error { - labels := make(map[string]string) labels[intervalLabel] = timespan labels[repoLabel] = repo