From 46eb737b2c664acb8b2732ed00cfccda8079462c Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 11 Dec 2023 17:34:45 +0100 Subject: Fix formatting of blob used to shard target cache The ToJson method of RemoteAddress was wrongly creating a list instead of a simple string, thus a wrongly formatted backend description was being used to shard the target cache. This however does not affect the correctness of the build. Changelog also updated accordingly. --- src/buildtool/common/remote/remote_common.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/buildtool/common/remote/remote_common.hpp') diff --git a/src/buildtool/common/remote/remote_common.hpp b/src/buildtool/common/remote/remote_common.hpp index ddbd16fb..be440052 100644 --- a/src/buildtool/common/remote/remote_common.hpp +++ b/src/buildtool/common/remote/remote_common.hpp @@ -28,8 +28,8 @@ struct ServerAddress { Port port{}; [[nodiscard]] auto ToJson() const noexcept -> nlohmann::json { - return nlohmann::json{ - fmt::format("{}:{}", host, static_cast(port))}; + return nlohmann::json( + fmt::format("{}:{}", host, static_cast(port))); } }; -- cgit v1.2.3