lib: Use uint64 for disk stats (ref #3930) (#7019)

This commit is contained in:
Simon Frei
2020-10-02 15:22:28 +02:00
committed by GitHub
parent a20c6ca868
commit 48da6f0f22
6 changed files with 62 additions and 20 deletions
+2 -2
View File
@@ -295,8 +295,8 @@ func (f *BasicFilesystem) Usage(name string) (Usage, error) {
return Usage{}, err
}
return Usage{
Free: int64(u.Free),
Total: int64(u.Total),
Free: u.Free,
Total: u.Total,
}, nil
}