diff options
| author | Chris Lu <chris.lu@gmail.com> | 2013-12-02 22:58:27 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2013-12-02 22:58:27 -0800 |
| commit | eeeccf2f7847266067473c31c73a5e42eec902c1 (patch) | |
| tree | e35432c55358af5df301b6aa2d28627456e009ab /go/operation | |
| parent | e449a4a51747e70a0301a4d2d6b704f8e8795544 (diff) | |
| download | seaweedfs-eeeccf2f7847266067473c31c73a5e42eec902c1.tar.xz seaweedfs-eeeccf2f7847266067473c31c73a5e42eec902c1.zip | |
ssue 59: Multi Ip Enviromment support + publicUrl is disregarded by
master
Diffstat (limited to 'go/operation')
| -rw-r--r-- | go/operation/allocate_volume.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/operation/allocate_volume.go b/go/operation/allocate_volume.go index dee114f21..71b08405a 100644 --- a/go/operation/allocate_volume.go +++ b/go/operation/allocate_volume.go @@ -18,7 +18,7 @@ func AllocateVolume(dn *topology.DataNode, vid storage.VolumeId, collection stri values.Add("volume", vid.String()) values.Add("collection", collection) values.Add("replicationType", repType.String()) - jsonBlob, err := util.Post("http://"+dn.Url()+"/admin/assign_volume", values) + jsonBlob, err := util.Post("http://"+dn.PublicUrl+"/admin/assign_volume", values) if err != nil { return err } |
