aboutsummaryrefslogtreecommitdiff
path: root/go/operation/submit.go
diff options
context:
space:
mode:
authorchrislusf <chris.lu@gmail.com>2015-03-09 01:10:01 -0700
committerchrislusf <chris.lu@gmail.com>2015-03-09 01:10:04 -0700
commitf511b507a5230e931d0250b446f744073be879b3 (patch)
treee9728b47902fc4f31aa93d24a937cb2654becc6c /go/operation/submit.go
parentd48d76cb4f419a58539fb84c7a45c7eb863b854f (diff)
downloadseaweedfs-f511b507a5230e931d0250b446f744073be879b3.tar.xz
seaweedfs-f511b507a5230e931d0250b446f744073be879b3.zip
Add read only public port on volume server
Add read only public port on volume server
Diffstat (limited to 'go/operation/submit.go')
-rw-r--r--go/operation/submit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/operation/submit.go b/go/operation/submit.go
index 03551b1e8..16304d2bd 100644
--- a/go/operation/submit.go
+++ b/go/operation/submit.go
@@ -55,7 +55,7 @@ func SubmitFiles(master string, files []FilePart,
if index > 0 {
file.Fid = file.Fid + "_" + strconv.Itoa(index)
}
- file.Server = ret.PublicUrl
+ file.Server = ret.Url
file.Replication = replication
file.Collection = collection
results[index].Size, err = file.Upload(maxMB, master, secret)