From: x11562 Date: Mon, 6 Jun 2016 06:59:43 +0000 (+0800) Subject: mon: fix typo of 'ceph auth rm' X-Git-Tag: v11.0.0~223^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7c77d3975e8d7deb798d8bd3e562cc423b661007;p=ceph.git mon: fix typo of 'ceph auth rm' Signed-off-by: Na Xie --- diff --git a/src/mon/AuthMonitor.cc b/src/mon/AuthMonitor.cc index 9bfc81434f80..59d3e738231d 100644 --- a/src/mon/AuthMonitor.cc +++ b/src/mon/AuthMonitor.cc @@ -984,7 +984,7 @@ bool AuthMonitor::prepare_command(MonOpRequestRef op) wait_for_finished_proposal(op, new Monitor::C_Command(mon, op, 0, rs, get_last_committed() + 1)); return true; - } else if ((prefix == "auth del" || prefix == "auto rm") && + } else if ((prefix == "auth del" || prefix == "auth rm") && !entity_name.empty()) { KeyServerData::Incremental auth_inc; auth_inc.name = entity;