mirror of
https://github.com/ceph/ceph
synced 2025-04-01 00:26:47 +00:00
Merge pull request #9392 from yehudasa/wip-16072
rgw/rgw_common.cc: modify the end check in RGWHTTPArgs::sys_get Tested-by: Orit Wasserman <owasserm@redhat.com> http://pulpito.ceph.com/owasserm-2016-06-01_20:43:36-rgw:verify-wip-orit-testing---basic-mira/
This commit is contained in:
commit
2c3def40d3
@ -836,7 +836,7 @@ void RGWHTTPArgs::get_bool(const char *name, bool *val, bool def_val)
|
||||
string RGWHTTPArgs::sys_get(const string& name, bool * const exists)
|
||||
{
|
||||
const auto iter = sys_val_map.find(name);
|
||||
const bool e = (iter != val_map.end());
|
||||
const bool e = (iter != sys_val_map.end());
|
||||
|
||||
if (exists) {
|
||||
*exists = e;
|
||||
|
Loading…
Reference in New Issue
Block a user