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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/other_tools/root_maps/distdir_git_map.cpp b/src/other_tools/root_maps/distdir_git_map.cpp
index 44213cd9..02a935a4 100644
--- a/src/other_tools/root_maps/distdir_git_map.cpp
+++ b/src/other_tools/root_maps/distdir_git_map.cpp
@@ -416,7 +416,7 @@ auto CreateDistdirGitMap(
}
// try to supply the serve endpoint with the tree via the
// remote CAS
- if (digest and remote_api->IsAvailable({*digest})) {
+ if (digest and remote_api->IsAvailable(*digest)) {
// tell serve to set up the root from the remote CAS
// tree
if (serve->GetTreeFromRemote(*digest)) {
@@ -436,7 +436,7 @@ auto CreateDistdirGitMap(
}
// check if we have the tree in local CAS; if yes, upload it
// to remote for the serve endpoint to find it
- if (digest and local_api->IsAvailable({*digest})) {
+ if (digest and local_api->IsAvailable(*digest)) {
if (not local_api->RetrieveToCas(
{Artifact::ObjectInfo{
.digest = *digest,
@@ -481,7 +481,7 @@ auto CreateDistdirGitMap(
// if the root is not-absent, the order of checks is different;
// first, look in the local CAS
- if (digest and local_api->IsAvailable({*digest})) {
+ if (digest and local_api->IsAvailable(*digest)) {
ImportFromCASAndSetRoot(key,
*native_storage_config,
*native_storage,