Skip to content

Commit

Permalink
fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
bLd75 committed Oct 30, 2023
1 parent 943d2a4 commit 1f96bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 1f96bee

Please sign in to comment.