protondrive: fix a bug in parsing User metadata (#7174)
This commit is contained in:
parent
4c5a21703e
commit
602e42d334
3 changed files with 14 additions and 5 deletions
|
@ -737,8 +737,8 @@ func (f *Fs) About(ctx context.Context) (*fs.Usage, error) {
|
|||
return nil, err
|
||||
}
|
||||
|
||||
total := int64(user.MaxSpace)
|
||||
used := int64(user.UsedSpace)
|
||||
total := user.MaxSpace
|
||||
used := user.UsedSpace
|
||||
free := total - used
|
||||
|
||||
usage := &fs.Usage{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue