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
avoid unnecessary error message
Chris Lu745ee8d8f30d
diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.goindex 9afa65d23d..322e5418d6 100644--- a/weed/command/filer_copy.go+++ b/weed/command/filer_copy.go@@ -122,7 +122,7 @@ func runCopy(cmd *Command, args []string) bool {expectedBucket := restPath[:strings.Index(restPath, "/")]if *copy.collection == "" {*copy.collection = expectedBucket- } else {+ } else if *copy.collection != expectedBucket {fmt.Printf("destination %s uses collection \"%s\": unexpected collection \"%v\"\n", urlPath, expectedBucket, *copy.collection)return true}