diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2021-07-01 21:04:21 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-01 21:04:21 -0700 |
| commit | 3d9ec2e0b600bdefdff0705a1f030abb0cac9ee4 (patch) | |
| tree | 34ad1bd9c10252e40b0617598f3539d31773d5a5 /weed/s3api/filer_util.go | |
| parent | c6d4c16079875dfbe0d350b83fbacccaaa9c15db (diff) | |
| parent | 1a4db87e19a577873d7f354673ac1cbf825597ae (diff) | |
| download | seaweedfs-3d9ec2e0b600bdefdff0705a1f030abb0cac9ee4.tar.xz seaweedfs-3d9ec2e0b600bdefdff0705a1f030abb0cac9ee4.zip | |
Merge pull request #2174 from qwedsazzcc/master
fix s3 metadata error with multipart upload
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 1803332a3..92267a154 100644 --- a/weed/s3api/filer_util.go +++ b/weed/s3api/filer_util.go @@ -15,9 +15,9 @@ func (s3a *S3ApiServer) mkdir(parentDirectoryPath string, dirName string, fn fun } -func (s3a *S3ApiServer) mkFile(parentDirectoryPath string, fileName string, chunks []*filer_pb.FileChunk) error { +func (s3a *S3ApiServer) mkFile(parentDirectoryPath string, fileName string, chunks []*filer_pb.FileChunk, fn func(entry *filer_pb.Entry)) error { - return filer_pb.MkFile(s3a, parentDirectoryPath, fileName, chunks) + return filer_pb.MkFile(s3a, parentDirectoryPath, fileName, chunks,fn) } |
