if (pending_inc.new_pools.count(pool))
p = pending_inc.new_pools[pool];
- // accept val as a json string or int, and parse out int or float
+ // accept val as a json string or int, and parse out int
// values from the string as needed
string raw_val = cmd_vartype_stringify(cmdmap["val"]);
string val;
int64_t n = 0;
if (!cmd_getval(g_ceph_context, cmdmap, "val", n))
n = strict_strtoll(val.c_str(), 10, &interr);
- string floaterr;
- float f;
- if (!cmd_getval(g_ceph_context, cmdmap, "val", f))
- f = strict_strtod(val.c_str(), &floaterr);
if (var == "size") {
if (interr.length()) {