From: Alex Ainscow Date: Thu, 24 Apr 2025 20:44:15 +0000 (+0100) Subject: osd: fmt::format shard_versions X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=291bece2ff805d41fd4445ea7ddd78ef86f45b73;p=ceph.git osd: fmt::format shard_versions Signed-off-by: Alex Ainscow --- diff --git a/src/osd/osd_types_fmt.h b/src/osd/osd_types_fmt.h index 7466207f18539..231d3b820a704 100644 --- a/src/osd/osd_types_fmt.h +++ b/src/osd/osd_types_fmt.h @@ -109,6 +109,9 @@ struct formatter { if (oi.has_manifest()) { fmt::format_to(ctx.out(), " {}", oi.manifest); } + if (!oi.shard_versions.empty()) { + fmt::format_to(ctx.out(), " shard_versions={}", oi.shard_versions); + } return fmt::format_to(ctx.out(), ")"); } };