mirror of
https://github.com/ceph/ceph
synced 2025-02-07 10:53:30 +00:00
rgw: the map 'headers' is assigned a wrong value
Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
This commit is contained in:
parent
c2fd18c00d
commit
dab0b55987
@ -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