]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mon/Monitor.cc
update sources to v12.1.4
[ceph.git] / ceph / src / mon / Monitor.cc
index f0a2e0a1619dfbf9bcd78406433ce8ee6564c5d5..34cecc03febbe38ddf349c8c0af1057eb567f681 100644 (file)
@@ -3599,7 +3599,7 @@ void Monitor::handle_command(MonOpRequestRef op)
 
     mdsmon()->count_metadata("ceph_version", &mds);
     f->open_object_section("mds");
-    for (auto& p : mon) {
+    for (auto& p : mds) {
       f->dump_int(p.first.c_str(), p.second);
       overall[p.first] += p.second;
     }