This commit is contained in:
Chris Lu
2019-10-25 07:45:12 -07:00
parent 288c45a690
commit 69de05f6cb
3 changed files with 3 additions and 7 deletions

View File

@@ -400,7 +400,6 @@ func (worker *FileCopyWorker) uploadFileInChunks(ctx context.Context, task FileC
wg.Wait()
close(chunksChan)
var chunks []*filer_pb.FileChunk
for chunk := range chunksChan {
chunks = append(chunks, chunk)