]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: fmt::format shard_versions
authorAlex Ainscow <aainscow@uk.ibm.com>
Thu, 24 Apr 2025 20:44:15 +0000 (21:44 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Wed, 25 Jun 2025 22:36:40 +0000 (23:36 +0100)
Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
src/osd/osd_types_fmt.h

index 7466207f18539e3013bdb3c56121da0390c39db3..231d3b820a7046d125b05726aec1a912c92910b5 100644 (file)
@@ -109,6 +109,9 @@ struct formatter<object_info_t> {
     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(), ")");
   }
 };