Skip to content

Commit 004bc28

Browse files
authored
Merge pull request ceph#65284 from pritha-srivastava/wip-rgw-d4n-centos9-build-failure
rgw/d4n: removing fmt related code as it is Reviewed-by: Casey Bodley <[email protected]>
2 parents 712b0ea + 7a04750 commit 004bc28

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/test/rgw/test_d4n_directory.cc

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -791,14 +791,6 @@ void foo(T t, std::vector<std::vector<std::string>>& responses)
791791
});
792792
}
793793

794-
template <> struct fmt::formatter<boost::redis::resp3::type> : fmt::ostream_formatter {};
795-
template <> struct fmt::formatter<boost::redis::resp3::node> : fmt::formatter<std::string> {
796-
template <typename FormatContext> auto format(boost::redis::resp3::node const& node, FormatContext& ctx) const {
797-
return format_to(ctx.out(), "({}@{}, {}, {})", node.data_type, node.depth, node.value,
798-
node.aggregate_size);
799-
}
800-
};
801-
802794
TEST_F(BlockDirectoryFixture, Pipeline)
803795
{
804796
boost::asio::spawn(io, [this] (boost::asio::yield_context yield) {
@@ -850,8 +842,6 @@ TEST_F(BlockDirectoryFixture, Pipeline)
850842
boost::redis::generic_response resp;
851843
conn->async_exec(req, resp, yield[ec]);
852844
ASSERT_EQ((bool)ec, false);
853-
//debug only
854-
fmt::print("generic: {}\n", resp.value());
855845

856846
//1st node gives data type and number of elements of that type
857847
//if data type is aggrgate, like array, map, then next n elements will be values of the aggregate type

0 commit comments

Comments
 (0)