summaryrefslogtreecommitdiff
path: root/src/other_tools/root_maps/distdir_git_map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/other_tools/root_maps/distdir_git_map.cpp')
-rw-r--r--src/other_tools/root_maps/distdir_git_map.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/other_tools/root_maps/distdir_git_map.cpp b/src/other_tools/root_maps/distdir_git_map.cpp
index 2ee0265f..c2ba2e20 100644
--- a/src/other_tools/root_maps/distdir_git_map.cpp
+++ b/src/other_tools/root_maps/distdir_git_map.cpp
@@ -254,19 +254,6 @@ auto CreateDistdirGitMap(
/*fatal=*/true);
return;
}
- // at this point we cannot continue without
- // the remote api
- if (not remote_api) {
- (*logger)(
- fmt::format(
- "Missing remote-execution "
- "endpoint needed to sync "
- "workspace root {} with the "
- "serve endpoint.",
- distdir_tree_id),
- /*fatal=*/true);
- return;
- }
// the tree is known locally, so we upload
// it to remote CAS for the serve endpoint
// to retrieve it and set up the root
@@ -401,16 +388,6 @@ auto CreateDistdirGitMap(
/*fatal=*/true);
return;
}
- // at this point we cannot continue without the remote api
- if (not remote_api) {
- (*logger)(
- fmt::format("Missing remote-execution endpoint "
- "needed to sync workspace root {} with "
- "the serve endpoint.",
- tree_id),
- /*fatal=*/true);
- return;
- }
// try to supply the serve endpoint with the tree via the
// remote CAS
if (remote_api.value()->IsAvailable({digest})) {