From f61516014c4950db3a5a6984d4e86bd50124893a Mon Sep 17 00:00:00 2001 From: Yan Jun Date: Mon, 17 Jul 2017 20:48:34 +0800 Subject: [PATCH] mon: cleanups Signed-off-by: Yan Jun --- src/mon/OSDMonitor.cc | 2 +- src/mon/PaxosService.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 4a613ae8843..c00b0358638 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 91152943b06..dcd83506ceb 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 -- 2.39.5