]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: Make `rgw::auth::Identity` libfmt-able
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 25 Feb 2026 20:42:51 +0000 (15:42 -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_auth.h

index 37487e63bea47bf1313b526db2df4263689db0d0..20dbfa886d994a6192b48adb4c23941c87b9ac2a 100644 (file)
@@ -10,6 +10,8 @@
 #include <system_error>
 #include <utility>
 
+#include <fmt/ostream.h>
+
 #include "include/expected.hpp"
 #include "include/function2.hpp"
 
@@ -989,6 +991,7 @@ protected:
 } /* namespace auth */
 } /* namespace rgw */
 
+template <> struct fmt::formatter<rgw::auth::Identity> : ostream_formatter {};
 
 uint32_t rgw_perms_from_aclspec_default_strategy(
   const std::string& uid,