1
0
mirror of https://github.com/ceph/ceph synced 2025-04-01 00:26:47 +00:00

Merge pull request 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:
Yehuda Sadeh 2016-06-02 08:46:04 +03:00
commit 2c3def40d3

View File

@ -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;