mirror of
https://github.com/minio/minio.git
synced 2025-01-24 13:13:16 -05:00
Minior change filter() to filterObjects()
This commit is contained in:
parent
daa113d89d
commit
b793f53d48
@ -192,7 +192,7 @@ func (fs *fsDriver) ListObjects(bucket string, resources drivers.BucketResources
|
||||
break
|
||||
}
|
||||
if name > resources.Marker {
|
||||
metadata, resources, err = fs.filter(bucket, name, p.files[name], resources)
|
||||
metadata, resources, err = fs.filterObjects(bucket, name, p.files[name], resources)
|
||||
if err != nil {
|
||||
return []drivers.ObjectMetadata{}, resources, iodine.New(err, nil)
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ import (
|
||||
"github.com/minio/minio/pkg/storage/drivers"
|
||||
)
|
||||
|
||||
func (fs *fsDriver) filter(bucket, name string, file os.FileInfo, resources drivers.BucketResourcesMetadata) (drivers.ObjectMetadata, drivers.BucketResourcesMetadata, error) {
|
||||
func (fs *fsDriver) filterObjects(bucket, name string, file os.FileInfo, resources drivers.BucketResourcesMetadata) (drivers.ObjectMetadata, drivers.BucketResourcesMetadata, error) {
|
||||
var err error
|
||||
var metadata drivers.ObjectMetadata
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user