aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_copy.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2017-01-09 10:07:07 -0800
committerGitHub <noreply@github.com>2017-01-09 10:07:07 -0800
commit9fa648e570b6c164f670c2360a45e97ee047df5d (patch)
tree6423b506709c743004313a45efd2587f63df38f3 /weed/command/filer_copy.go
parent07a51815e9f2aeb8d196be5136323a77bb24acc7 (diff)
parent66e7013dfe1f14f6436c07a0ccf5aaa19ea599f7 (diff)
downloadseaweedfs-9fa648e570b6c164f670c2360a45e97ee047df5d.tar.xz
seaweedfs-9fa648e570b6c164f670c2360a45e97ee047df5d.zip
Merge pull request #435 from sparklxb/master
support 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)