e.g., 'ceph config get osd debug_osd' to return the config value that
would apply to a generic OSD (either from the osd or global section of
the config).
Signed-off-by: Sage Weil <sage@redhat.com>
cmd_getval(g_ceph_context, cmdmap, "who", who);
EntityName entity;
- if (!entity.from_str(who)) {
+ if (!entity.from_str(who) &&
+ !entity.from_str(who + ".")) {
ss << "unrecognized entity '" << who << "'";
err = -EINVAL;
goto reply;