Browse Source

Merge branch 'master' of https://github.com/chrislusf/seaweedfs

pull/2584/head
chrislu 3 years ago
parent
commit
5bb37d5905
  1. 3
      weed/command/filer_copy.go

3
weed/command/filer_copy.go

@ -482,7 +482,8 @@ 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)
uploadError = fmt.Errorf("Failed to assign from %v: %v\n", worker.options.masters, err)
return
}
targetUrl := "http://" + assignResult.Location.Url + "/" + assignResult.FileId

Loading…
Cancel
Save