diff options
| author | chrislu <chris.lu@gmail.com> | 2022-08-20 18:14:57 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-08-20 18:14:57 -0700 |
| commit | 689b4ecdcc9dc6edeaf557a6988f520e1fe608ac (patch) | |
| tree | 11f94a2034b6a6f3f60c4cc29b532c6e1c7a9174 /weed/filer/filechunk_manifest.go | |
| parent | e3f40d538d3184d5e84a953146516ddc85f151a5 (diff) | |
| download | seaweedfs-689b4ecdcc9dc6edeaf557a6988f520e1fe608ac.tar.xz seaweedfs-689b4ecdcc9dc6edeaf557a6988f520e1fe608ac.zip | |
remove unused collection and replication from upload result
Diffstat (limited to 'weed/filer/filechunk_manifest.go')
| -rw-r--r-- | weed/filer/filechunk_manifest.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/filer/filechunk_manifest.go b/weed/filer/filechunk_manifest.go index 956d35b77..3a70e4fa3 100644 --- a/weed/filer/filechunk_manifest.go +++ b/weed/filer/filechunk_manifest.go @@ -258,7 +258,7 @@ func mergeIntoManifest(saveFunc SaveDataAsChunkFunctionType, dataChunks []*filer } } - manifestChunk, _, _, err = saveFunc(bytes.NewReader(data), "", 0) + manifestChunk, err = saveFunc(bytes.NewReader(data), "", 0) if err != nil { return nil, err } @@ -269,4 +269,4 @@ func mergeIntoManifest(saveFunc SaveDataAsChunkFunctionType, dataChunks []*filer return } -type SaveDataAsChunkFunctionType func(reader io.Reader, name string, offset int64) (chunk *filer_pb.FileChunk, collection, replication string, err error) +type SaveDataAsChunkFunctionType func(reader io.Reader, name string, offset int64) (chunk *filer_pb.FileChunk, err error) |
