]> git.apps.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)
committerKefu Chai <kchai@redhat.com>
Mon, 10 Feb 2020 09:38:28 +0000 (17:38 +0800)
Fixes: https://tracker.ceph.com/issues/43582
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/tools/ceph_monstore_tool.cc

index df097d32759315ae5e3c7de76fc04201e3db9f74..d7169582b3338c786a711ab3c15ad5aa03a2e1e2 100644 (file)
@@ -633,7 +633,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);
 }