diff --git a/cmd/metacache-walk.go b/cmd/metacache-walk.go index 9aa2e8a03..fd4628aff 100644 --- a/cmd/metacache-walk.go +++ b/cmd/metacache-walk.go @@ -205,6 +205,8 @@ func (s *xlStorage) WalkDir(ctx context.Context, opts WalkDirOptions, wr io.Writ if !isDirObj { dirStack = append(dirStack, meta.name+slashSeparator) } + case isSysErrNotDir(err): + // skip default: logger.LogIf(ctx, err) }