]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-monstore-tool: correct the key for storing mgr_command_descs
authorKefu Chai <kchai@redhat.com>
Mon, 10 Feb 2020 09:33:26 +0000 (17:33 +0800)
committerNathan Cutler <ncutler@suse.com>
Thu, 13 Feb 2020 14:21:42 +0000 (15:21 +0100)
Fixes: https://tracker.ceph.com/issues/43582
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit a5bfeca64f3204142fda5320b4fd403df4b5f532)

src/tools/ceph_monstore_tool.cc

index de67b8aa1e7a8cd2655ddd7ce77209580e652e43..9ff08f3237d9b8c3414f20be00212801cda5d241 100644 (file)
@@ -622,7 +622,7 @@ static int update_mgrmap(MonitorDBStore& st)
     }
     bufferlist bl;
     encode(mgr_command_descs, bl);
-    t->put("mgr_command_desc", "", bl);
+    t->put("mgr_command_descs", "", bl);
   }
   return st.apply_transaction(t);
 }