1
0
mirror of https://github.com/rclone/rclone.git synced 2025-11-29 05:47:23 +02:00

protondrive: fix a bug in parsing User metadata (#7174)

This commit is contained in:
Chun-Hung Tseng
2023-07-28 11:03:23 +02:00
committed by GitHub
parent 4c5a21703e
commit 602e42d334
3 changed files with 14 additions and 5 deletions

View File

@@ -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{