]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mgr/MgrClient.cc
update sources to v12.2.3
[ceph.git] / ceph / src / mgr / MgrClient.cc
index c72470d9bca5a93644bcc2d536853bf8ae9cd4f0..5614e00d3a060ea1eba1d124e40041edc32f475c 100644 (file)
@@ -313,6 +313,7 @@ void MgrClient::send_report()
     daemon_dirty_status = false;
   }
 
+  report->osd_health_metrics = std::move(osd_health_metrics);
   session->con->send_message(report);
 
   if (stats_period != 0) {
@@ -461,3 +462,8 @@ int MgrClient::service_daemon_update_status(
   daemon_dirty_status = true;
   return 0;
 }
+
+void MgrClient::update_osd_health(std::vector<OSDHealthMetric>&& metrics)
+{
+  osd_health_metrics = std::move(metrics);
+}