Skip to content

Commit 360deaf

Browse files
authored
chore(linter): fix unconvert linter issues on linux (#8718)
1 parent 3ae7559 commit 360deaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x/disk_metrics_linux.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ func MonitorDiskMetrics(dirTag string, dir string, lc *z.Closer) {
4040
continue
4141
}
4242
reservedBlocks := s.Bfree - s.Bavail
43-
total := int64(s.Frsize) * int64(s.Blocks-reservedBlocks)
44-
free := int64(s.Frsize) * int64(s.Bavail)
43+
total := s.Frsize * int64(s.Blocks-reservedBlocks)
44+
free := s.Frsize * int64(s.Bavail)
4545
stats.Record(ctx, DiskFree.M(free), DiskUsed.M(total-free), DiskTotal.M(total))
4646
}
4747
}

0 commit comments

Comments
 (0)