diff options
Diffstat (limited to 'src/buildtool/main/main.cpp')
-rw-r--r-- | src/buildtool/main/main.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/buildtool/main/main.cpp b/src/buildtool/main/main.cpp index 42a36391..bc159f6c 100644 --- a/src/buildtool/main/main.cpp +++ b/src/buildtool/main/main.cpp @@ -248,14 +248,15 @@ void StoreTargetCacheShard( Storage const& storage, RemoteExecutionConfig const& remote_exec_config) noexcept { auto backend_description = - DescribeBackend(remote_exec_config.remote_address, - remote_exec_config.platform_properties, - remote_exec_config.dispatch); + BackendDescription::Describe(remote_exec_config.remote_address, + remote_exec_config.platform_properties, + remote_exec_config.dispatch); if (not backend_description) { Logger::Log(LogLevel::Error, backend_description.error()); std::exit(kExitFailure); } - std::ignore = storage.CAS().StoreBlob(*backend_description); + std::ignore = + storage.CAS().StoreBlob(backend_description->GetDescription()); } #endif // BOOTSTRAP_BUILD_TOOL |