Skip to content

Commit

Permalink
Minor formatting changes
Browse files Browse the repository at this point in the history
Remove extra whitespace
  • Loading branch information
lwalter committed Nov 26, 2024
1 parent 10db7e4 commit cbde5e4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit cbde5e4

Please sign in to comment.