mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-08-23 21:40:19 +08:00
remove duplicated code
This commit is contained in:
parent
930581cedc
commit
007401f3a0
@ -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…
Reference in New Issue
Block a user