diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-09-12 00:46:12 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-09-12 00:46:12 -0700 |
| commit | f6d8525d1d8c1faf9a0826472bfcef0592ba3a93 (patch) | |
| tree | 8856e342215ca37a943c97e09528ead83814e472 /weed/s3api/filer_util.go | |
| parent | 98d9aadd37500e31b98e91cbf1b4d4050d90e762 (diff) | |
| download | seaweedfs-f6d8525d1d8c1faf9a0826472bfcef0592ba3a93.tar.xz seaweedfs-f6d8525d1d8c1faf9a0826472bfcef0592ba3a93.zip | |
working S3 multipart uploads
Diffstat (limited to 'weed/s3api/filer_util.go')
| -rw-r--r-- | weed/s3api/filer_util.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/s3api/filer_util.go b/weed/s3api/filer_util.go index f0949389c..6dd93d50f 100644 --- a/weed/s3api/filer_util.go +++ b/weed/s3api/filer_util.go @@ -78,7 +78,7 @@ func (s3a *S3ApiServer) list(parentDirectoryPath, prefix, startFrom string, incl err = s3a.withFilerClient(func(client filer_pb.SeaweedFilerClient) error { request := &filer_pb.ListEntriesRequest{ - Directory: s3a.option.BucketsPath, + Directory: parentDirectoryPath, Prefix: prefix, StartFromFileName: startFrom, InclusiveStartFrom: inclusive, @@ -135,7 +135,7 @@ func (s3a *S3ApiServer) exists(parentDirectoryPath string, entryName string, isD Name: entryName, } - glog.V(1).Infof("exists entry %v/%v: %v", parentDirectoryPath, entryName, request) + glog.V(4).Infof("exists entry %v/%v: %v", parentDirectoryPath, entryName, request) resp, err := client.LookupDirectoryEntry(ctx, request) if err != nil { return fmt.Errorf("exists entry %s/%s: %v", parentDirectoryPath, entryName, err) |
