From fc24aa48336d794998bf3e45356fb34721162b8a Mon Sep 17 00:00:00 2001 From: Petter Rasmussen Date: Sat, 13 Feb 2016 17:18:53 +0100 Subject: Correct used space / free space --- drive/about.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drive') diff --git a/drive/about.go b/drive/about.go index 01d7073..4c23ab8 100644 --- a/drive/about.go +++ b/drive/about.go @@ -21,8 +21,8 @@ func (self *Drive) About(args AboutArgs) (err error) { quota := about.StorageQuota fmt.Fprintf(args.Out, "User: %s, %s\n", user.DisplayName, user.EmailAddress) - fmt.Fprintf(args.Out, "Used: %s\n", formatSize(quota.UsageInDrive, args.SizeInBytes)) - fmt.Fprintf(args.Out, "Free: %s\n", formatSize(quota.Limit - quota.UsageInDrive, args.SizeInBytes)) + fmt.Fprintf(args.Out, "Used: %s\n", formatSize(quota.Usage, args.SizeInBytes)) + fmt.Fprintf(args.Out, "Free: %s\n", formatSize(quota.Limit - quota.Usage, args.SizeInBytes)) fmt.Fprintf(args.Out, "Total: %s\n", formatSize(quota.Limit, args.SizeInBytes)) fmt.Fprintf(args.Out, "Max upload size: %s\n", formatSize(about.MaxUploadSize, args.SizeInBytes)) return -- cgit v1.2.3