]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mon: cleanups
authorYan Jun <yan.jun8@zte.com.cn>
Mon, 17 Jul 2017 12:48:34 +0000 (20:48 +0800)
committerYan Jun <yan.jun8@zte.com.cn>
Tue, 18 Jul 2017 00:20:20 +0000 (08:20 +0800)
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
src/mon/OSDMonitor.cc
src/mon/PaxosService.cc

index 4a613ae8843bc85ac0d7c8db72d620c2ff0d82a5..c00b035863869a3aca4f104be4a931056f7d8052 100644 (file)
@@ -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;
     }
 
index 91152943b0602e0f42858f99d76e216aa0c0bbdb..dcd83506cebbc8a569cee63604613bb39586b6e0 100644 (file)
@@ -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