aboutsummaryrefslogtreecommitdiffstats
path: root/modules/doctor/storage.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/doctor/storage.go')
-rw-r--r--modules/doctor/storage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/doctor/storage.go b/modules/doctor/storage.go
index aa987de447..c20566d675 100644
--- a/modules/doctor/storage.go
+++ b/modules/doctor/storage.go
@@ -31,7 +31,7 @@ func commonCheckStorage(ctx context.Context, logger log.Logger, autofix bool, op
totalSize, orphanedSize := int64(0), int64(0)
var pathsToDelete []string
- if err := opts.storer.IterateObjects(func(p string, obj storage.Object) error {
+ if err := opts.storer.IterateObjects("", func(p string, obj storage.Object) error {
defer obj.Close()
totalCount++