Minior change filter() to filterObjects()

master
Harshavardhana 9 years ago
parent daa113d89d
commit b793f53d48
  1. 2
      pkg/storage/drivers/fs/fs_bucket.go
  2. 2
      pkg/storage/drivers/fs/fs_filter.go

@ -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…
Cancel
Save