mirror of
https://github.com/ceph/ceph
synced 2025-01-12 14:10:27 +00:00
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:
commit
3680c0e581
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user