From: Pritha Srivastava Date: Thu, 28 Aug 2025 09:13:58 +0000 (+0530) Subject: rgw/d4n: removing fmt related code as it is X-Git-Tag: testing/wip-vshankar-testing-20250829.190601-debug~5^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7a04750a69d0c9e31d412507ddcc5ab3822d6487;p=ceph-ci.git rgw/d4n: removing fmt related code as it is causing centos 9 build failure and is debug only code. Signed-off-by: Pritha Srivastava --- diff --git a/src/test/rgw/test_d4n_directory.cc b/src/test/rgw/test_d4n_directory.cc index 2f7c436628e..d41b389bee2 100644 --- a/src/test/rgw/test_d4n_directory.cc +++ b/src/test/rgw/test_d4n_directory.cc @@ -791,14 +791,6 @@ void foo(T t, std::vector>& responses) }); } -template <> struct fmt::formatter : fmt::ostream_formatter {}; -template <> struct fmt::formatter : fmt::formatter { - template auto format(boost::redis::resp3::node const& node, FormatContext& ctx) const { - return format_to(ctx.out(), "({}@{}, {}, {})", node.data_type, node.depth, node.value, - node.aggregate_size); - } -}; - TEST_F(BlockDirectoryFixture, Pipeline) { boost::asio::spawn(io, [this] (boost::asio::yield_context yield) { @@ -850,8 +842,6 @@ TEST_F(BlockDirectoryFixture, Pipeline) boost::redis::generic_response resp; conn->async_exec(req, resp, yield[ec]); ASSERT_EQ((bool)ec, false); - //debug only - fmt::print("generic: {}\n", resp.value()); //1st node gives data type and number of elements of that type //if data type is aggrgate, like array, map, then next n elements will be values of the aggregate type