summaryrefslogtreecommitdiffstats
path: root/src/osd/scrubber/osd_scrub.cc
diff options
context:
space:
mode:
authorRonen Friedman <rfriedma@redhat.com>2024-11-21 07:00:30 +0100
committerRonen Friedman <rfriedma@redhat.com>2024-11-21 07:00:30 +0100
commit38a32b2212ea2a345187e90bebc2db4963f55f77 (patch)
treed789ed3dcbd958b824e4130292313cd04cbd5707 /src/osd/scrubber/osd_scrub.cc
parentMerge pull request #60668 from ronen-fr/wip-rf-mconf (diff)
downloadceph-38a32b2212ea2a345187e90bebc2db4963f55f77.tar.xz
ceph-38a32b2212ea2a345187e90bebc2db4963f55f77.zip
osd/scrub: fixing reservations dump format
Headers were missing in the faulty dump output. This commit fixes the section type to 'object section'. Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Diffstat (limited to '')
-rw-r--r--src/osd/scrubber/osd_scrub.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/scrubber/osd_scrub.cc b/src/osd/scrubber/osd_scrub.cc
index c8cf27d2116..110c2c7d266 100644
--- a/src/osd/scrubber/osd_scrub.cc
+++ b/src/osd/scrubber/osd_scrub.cc
@@ -65,7 +65,7 @@ void OsdScrub::dump_scrubs(ceph::Formatter* f) const
void OsdScrub::dump_scrub_reservations(ceph::Formatter* f) const
{
m_resource_bookkeeper.dump_scrub_reservations(f);
- f->open_array_section("remote_scrub_reservations");
+ f->open_object_section("remote_scrub_reservations");
m_osd_svc.get_scrub_reserver().dump(f);
f->close_section();
}