aboutsummaryrefslogtreecommitdiff
path: root/quota
diff options
context:
space:
mode:
authorGravatar Anshul Gupta <ansg191@anshulg.com> 2025-02-18 14:06:53 -0800
committerGravatar Anshul Gupta <ansg191@anshulg.com> 2025-02-18 14:06:53 -0800
commitcd36c3e2aadd71fecdb04eba0ddf1e9bd7a1ca4f (patch)
tree4a4a38cb18d43808112620a88bc469c7ccc81cd6 /quota
parent6fc5e736a9225b7cac250833cdd8fd64446fb740 (diff)
parentf053e334865c5ec402c75d55bdf09b745342080d (diff)
downloadrest-server-master.tar.gz
rest-server-master.tar.zst
rest-server-master.zip
Merge remote-tracking branch 'upstream/master'HEADmaster
Diffstat (limited to 'quota')
-rw-r--r--quota/quota.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/quota/quota.go b/quota/quota.go
index 0b1020e..8437f65 100644
--- a/quota/quota.go
+++ b/quota/quota.go
@@ -113,7 +113,7 @@ func tallySize(path string) (int64, error) {
path = "."
}
var size int64
- err := filepath.Walk(path, func(path string, info os.FileInfo, err error) error {
+ err := filepath.Walk(path, func(_ string, info os.FileInfo, err error) error {
if err != nil {
return err
}