Merge pull request #8481 from weiqiaomiao/wq

rgw: the map 'headers' is assigned a wrong value
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
This commit is contained in:
Orit Wasserman 2016-04-08 16:19:29 +02:00
commit 3680c0e581

View File

@ -199,7 +199,7 @@ int RGWRESTConn::get_resource(const string& resource,
map<string, string> headers;
if (extra_headers) {
headers.insert(extra_params->begin(), extra_params->end());
headers.insert(extra_headers->begin(), extra_headers->end());
}
ret = req.get_resource(key, headers, resource, mgr);