This was broken by
def50d04796, and implicitly fixed during
refactoring in the master (octopus) by
adf1486e46c, hence it is a
direct commit to nautilus branch.
Fixes: https://tracker.ceph.com/issues/43429
Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit
0a0fcc7da4573e8b3c82440226747a2cc377496b)
Conflicts:
src/tools/rbd_mirror/Mirror.cc (image_deleter section removed after luminous)
}
m_image_deleter->print_status(f, ss);
+
+ if (f) {
+ f->close_section();
+ f->close_section();
+ f->flush(*ss);
+ }
}
void Mirror::start()