build: fix problems found with unconvert
This commit is contained in:
parent
a551978a3f
commit
d966cef14c
19 changed files with 29 additions and 29 deletions
|
@ -16,7 +16,7 @@ func (f *Fs) About() (*fs.Usage, error) {
|
|||
if err != nil {
|
||||
return nil, errors.Wrap(err, "failed to read disk usage")
|
||||
}
|
||||
bs := int64(s.Bsize)
|
||||
bs := int64(s.Bsize) // nolint: unconvert
|
||||
usage := &fs.Usage{
|
||||
Total: fs.NewUsageValue(bs * int64(s.Blocks)), // quota of bytes that can be used
|
||||
Used: fs.NewUsageValue(bs * int64(s.Blocks-s.Bfree)), // bytes in use
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue