refactoring

This commit is contained in:
Chris Lu committed 2020-03-22 23:52:55 -07:00
1 parent b77b4cc3a2
commit fbca6b29bd
5 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ func (s3a *S3ApiServer) listFilerEntries(bucket, originalPrefix string, maxKeys
}
// check filer
err = s3a.withFilerClient(func(client filer_pb.SeaweedFilerClient) error {
err = s3a.WithFilerClient(func(client filer_pb.SeaweedFilerClient) error {
request := &filer_pb.ListEntriesRequest{
Directory: fmt.Sprintf("%s/%s/%s", s3a.option.BucketsPath, bucket, dir),