It becomes easier to understand logs when whether command succeeded or
not are also logged.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit
4374ac74d283ce1c50616330a0127a53623d96c3)
if (!pending_map.modules.count(module)) {
ss << "module '" << module << "' is not enabled";
}
+ dout(8) << __func__ << " disabling module " << module << " from new " << dendl;
pending_map.modules.erase(module);
} else {
ss << "Command '" << prefix << "' not implemented!";