Co-authored-by: Bill Scales <156200352+bill-scales@users.noreply.github.com>
Signed-off-by: NitzanMordhai <97529641+NitzanMordhai@users.noreply.github.com>
}
// normal CLI command
- r->sent_name = monmap.get_name(active_con ? (active_con->get_con()->get_peer_addr()) : "");
+ r->sent_name = active_con ? monmap.get_name(active_con->get_con()->get_peer_addr()) : "";
ldout(cct, 10) << __func__ << " " << r->tid << " " << r->cmd << dendl;
auto m = ceph::make_message<MMonCommand>(monmap.fsid);
m->set_tid(r->tid);