summaryrefslogtreecommitdiff
path: root/src/buildtool/main/install_cas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/main/install_cas.cpp')
-rw-r--r--src/buildtool/main/install_cas.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/buildtool/main/install_cas.cpp b/src/buildtool/main/install_cas.cpp
index 024d22c7..1f5873e1 100644
--- a/src/buildtool/main/install_cas.cpp
+++ b/src/buildtool/main/install_cas.cpp
@@ -18,7 +18,6 @@
#include "src/buildtool/compatibility/compatibility.hpp"
#include "src/buildtool/crypto/hash_function.hpp"
-#include "src/buildtool/execution_api/remote/config.hpp"
#include "src/buildtool/logging/log_level.hpp"
#include "src/buildtool/logging/logger.hpp"
#ifndef BOOTSTRAP_BUILD_TOOL
@@ -77,9 +76,11 @@ namespace {
#ifndef BOOTSTRAP_BUILD_TOOL
auto FetchAndInstallArtifacts(ApiBundle const& apis,
- FetchArguments const& clargs) -> bool {
+ FetchArguments const& clargs,
+ RemoteContext const& remote_context) -> bool {
auto object_info = ObjectInfoFromLiberalString(
- clargs.object_id, apis.remote_config.remote_address.has_value());
+ clargs.object_id,
+ remote_context.exec_config->remote_address.has_value());
if (clargs.remember) {
if (not apis.remote->ParallelRetrieveToCas(