aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_copy.go
diff options
context:
space:
mode:
authorsparklxb <sparklxb@163.com>2017-01-09 23:34:07 +0800
committersparklxb <sparklxb@163.com>2017-01-09 23:34:47 +0800
commit66e7013dfe1f14f6436c07a0ccf5aaa19ea599f7 (patch)
tree0e25010198857b9ef164a6c538acb5063b74a38f /weed/command/filer_copy.go
parent53cf1b4900630883ef38a95324cda29f50e75b8d (diff)
downloadseaweedfs-66e7013dfe1f14f6436c07a0ccf5aaa19ea599f7.tar.xz
seaweedfs-66e7013dfe1f14f6436c07a0ccf5aaa19ea599f7.zip
suport uploading files to specific dataCenter
Diffstat (limited to 'weed/command/filer_copy.go')
-rw-r--r--weed/command/filer_copy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.go
index 2aa994f6f..da7fb43bb 100644
--- a/weed/command/filer_copy.go
+++ b/weed/command/filer_copy.go
@@ -126,7 +126,7 @@ func doEachCopy(fileOrDir string, host string, path string) bool {
}
results, err := operation.SubmitFiles(*copy.master, parts,
- *copy.replication, *copy.collection,
+ *copy.replication, *copy.collection, "",
*copy.ttl, *copy.maxMB, copy.secret)
if err != nil {
fmt.Printf("Failed to submit file %s: %v", fileOrDir, err)