]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw_rest_client.cc: remove self assignment of new_info.effective_uri
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 23 Oct 2014 17:52:14 +0000 (19:52 +0200)
committerSage Weil <sage@redhat.com>
Mon, 27 Oct 2014 19:58:12 +0000 (12:58 -0700)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_rest_client.cc

index a24c1f0e8b380a2abf3585b8d7f96b624dc139d2..8801e4569cbf81bbd8c7c456377e7e809a6b9923 100644 (file)
@@ -406,7 +406,6 @@ int RGWRESTStreamWriteRequest::put_obj_init(RGWAccessKey& key, rgw_obj& obj, uin
   new_info.script_uri = "/";
   new_info.script_uri.append(resource);
   new_info.request_uri = new_info.script_uri;
-  new_info.effective_uri = new_info.effective_uri;
 
   map<string, string, ltstr_nocase>& m = new_env.get_map();
   map<string, bufferlist>::iterator bliter;
@@ -575,7 +574,6 @@ int RGWRESTStreamReadRequest::get_obj(RGWAccessKey& key, map<string, string>& ex
   new_info.script_uri = "/";
   new_info.script_uri.append(resource);
   new_info.request_uri = new_info.script_uri;
-  new_info.effective_uri = new_info.effective_uri;
 
   new_info.init_meta_info(NULL);