From: Yan Jun Date: Mon, 17 Jul 2017 12:48:34 +0000 (+0800) Subject: mon: cleanups X-Git-Tag: ses5-milestone9~1^2~33^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f61516014c4950db3a5a6984d4e86bd50124893a;p=ceph.git mon: cleanups Signed-off-by: Yan Jun --- diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 4a613ae8843b..c00b03586386 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -7310,7 +7310,7 @@ bool OSDMonitor::prepare_command_impl(MonOpRequestRef op, if (!osdmap.exists(osdid)) { err = -ENOENT; - ss << name << " does not exist. create it before updating the crush map"; + ss << name << " does not exist. Create it before updating the crush map"; goto reply; } diff --git a/src/mon/PaxosService.cc b/src/mon/PaxosService.cc index 91152943b060..dcd83506cebb 100644 --- a/src/mon/PaxosService.cc +++ b/src/mon/PaxosService.cc @@ -197,7 +197,7 @@ void PaxosService::propose_pending() } /** - * @note What we contirbute to the pending Paxos transaction is + * @note What we contribute to the pending Paxos transaction is * obtained by calling a function that must be implemented by * the class implementing us. I.e., the function * encode_pending will be the one responsible to encode