1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-30 22:31:06 +02:00

just log error when checking empty dir failed

This commit is contained in:
Chris Lu 2020-12-23 14:36:48 -08:00
parent 0ca9d89589
commit 3be3635799

View file

@ -265,7 +265,7 @@ func (s3a *S3ApiServer) doListFilerEntries(client filer_pb.SeaweedFilerClient, d
} else {
var isEmpty bool
if isEmpty, err = s3a.isDirectoryAllEmpty(client, dir, entry.Name); err != nil {
return
glog.Errorf("check empty folder %s: %v", dir, err)
}
if !isEmpty {
eachEntryFn(dir, entry)