Update mdadm_linux.go

fixed code formatting

Signed-off-by: Frederic <fredleitenb@yahoo.de>
This commit is contained in:
Frederic 2024-05-01 18:46:11 +02:00 committed by GitHub
parent f21e3b547e
commit dd0a449f18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -233,7 +233,7 @@ func (c *mdadmCollector) Update(ch chan<- prometheus.Metric) error {
ch <- prometheus.MustNewConstMetric(
syncTimeRemainingDesc,
prometheus.GaugeValue,
float64(mdStat.BlocksSyncedFinishTime * 60),
float64(mdStat.BlocksSyncedFinishTime*60),
mdStat.Name,
)
ch <- prometheus.MustNewConstMetric(