From 7c77d3975e8d7deb798d8bd3e562cc423b661007 Mon Sep 17 00:00:00 2001 From: x11562 Date: Mon, 6 Jun 2016 14:59:43 +0800 Subject: [PATCH] mon: fix typo of 'ceph auth rm' Signed-off-by: Na Xie --- src/mon/AuthMonitor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon/AuthMonitor.cc b/src/mon/AuthMonitor.cc index 9bfc81434f8..59d3e738231 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; -- 2.47.3