Skip to content

Commit 38a32b2

Browse files
committed
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 <[email protected]>
1 parent 801186f commit 38a32b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/osd/scrubber/osd_scrub.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void OsdScrub::dump_scrubs(ceph::Formatter* f) const
6565
void OsdScrub::dump_scrub_reservations(ceph::Formatter* f) const
6666
{
6767
m_resource_bookkeeper.dump_scrub_reservations(f);
68-
f->open_array_section("remote_scrub_reservations");
68+
f->open_object_section("remote_scrub_reservations");
6969
m_osd_svc.get_scrub_reserver().dump(f);
7070
f->close_section();
7171
}

0 commit comments

Comments
 (0)