SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
remove duplicated code
Chris Lu007401f3a0b8
diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.goindex a9b715f90d..ad35009158 100644--- a/weed/command/filer_copy.go+++ b/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.FileIdif collection == "" {