]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: Make ARNs libfmt-able
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 25 Feb 2026 15:31:53 +0000 (10:31 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Tue, 21 Jul 2026 21:55:08 +0000 (17:55 -0400)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/rgw_arn.h

index 15ef452671d668d1d4f7797872444d4ca172118b..23a837adfc6a0c85ac66a9afc4dd99744a8fd74e 100644 (file)
@@ -5,6 +5,8 @@
 #include <string>
 #include <boost/optional.hpp>
 
+#include <fmt/ostream.h>
+
 class rgw_obj;
 class rgw_bucket;
 
@@ -119,3 +121,4 @@ struct hash<::rgw::Service> {
 };
 } // namespace std
 
+template <> struct fmt::formatter<rgw::ARN> : ostream_formatter {};