Browse Source

remove duplicated code

pull/2063/head
Chris Lu 4 years ago
parent
commit
007401f3a0
  1. 3
      weed/command/filer_copy.go

3
weed/command/filer_copy.go

@ -426,9 +426,6 @@ func (worker *FileCopyWorker) uploadFileInChunks(task FileCopyTask, f *os.File,
if err != nil {
fmt.Printf("Failed to assign from %v: %v\n", worker.options.masters, err)
}
if err != nil {
fmt.Printf("Failed to assign from %v: %v\n", worker.options.masters, err)
}
targetUrl := "http://" + assignResult.Url + "/" + assignResult.FileId
if collection == "" {

Loading…
Cancel
Save