diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-07-21 10:39:02 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-07-21 10:39:02 -0700 |
| commit | 8480008a9a64ed8b922c786c70bc38e1f0353478 (patch) | |
| tree | 44529e24b43f2d5691b8e3f6b3028a82da8b6d07 /weed/operation/assign_file_id.go | |
| parent | 80d80daf64370d6a3d37afa6ce06258335ac856f (diff) | |
| download | seaweedfs-8480008a9a64ed8b922c786c70bc38e1f0353478.tar.xz seaweedfs-8480008a9a64ed8b922c786c70bc38e1f0353478.zip | |
add s3 upload, and removing mono and multi part upload analyzer
removing mono and multi part upload analyzer, which were used just to determine the file name
Diffstat (limited to 'weed/operation/assign_file_id.go')
| -rw-r--r-- | weed/operation/assign_file_id.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/weed/operation/assign_file_id.go b/weed/operation/assign_file_id.go index c2e1e4444..169fd664d 100644 --- a/weed/operation/assign_file_id.go +++ b/weed/operation/assign_file_id.go @@ -59,8 +59,9 @@ func Assign(server string, primaryRequest *VolumeAssignRequest, alternativeReque values.Add("dataNode", request.DataNode) } - jsonBlob, err := util.Post("http://"+server+"/dir/assign", values) - glog.V(2).Infof("assign result from %s : %s", server, string(jsonBlob)) + postUrl := fmt.Sprintf("http://%s/dir/assign", server) + jsonBlob, err := util.Post(postUrl, values) + glog.V(2).Infof("assign %d result from %s %+v : %s", i, postUrl, values, string(jsonBlob)) if err != nil { return nil, err } |
