mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-27 04:39:25 +08:00
s3: log errors instead of stopping when checking isDirectoryAllEmpty has error
This commit is contained in:
parent
db62090f88
commit
132f275d04
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user