unconvert: Remove unnecessary conversion

See,
```
collector/os.go:306:10: unnecessary conversion (unconvert)
		float64(fsipf),
		       ^
```

Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
This commit is contained in:
Mario Trangoni 2021-12-18 19:05:31 +01:00
parent b98a956d51
commit 03e15a0f80

View File

@ -303,7 +303,7 @@ func (c *OSCollector) collect(ctx *ScrapeContext, ch chan<- prometheus.Metric) (
ch <- prometheus.MustNewConstMetric(
c.PagingLimitBytes,
prometheus.GaugeValue,
float64(fsipf),
fsipf,
)
ch <- prometheus.MustNewConstMetric(