This commit is contained in:
chrislu 2022-01-11 23:29:12 -08:00
commit 5bb37d5905

View file

@ -482,7 +482,8 @@ func (worker *FileCopyWorker) uploadFileInChunks(task FileCopyTask, f *os.File,
}) })
}) })
if err != nil { 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 targetUrl := "http://" + assignResult.Location.Url + "/" + assignResult.FileId