From 477c7d5e496b8eb5113b3b51f7152e05eae51fd7 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Thu, 30 Jan 2025 15:18:35 +0100 Subject: IExecutionApi: Rename IsAvailable to GetMissingDigests --- src/other_tools/root_maps/distdir_git_map.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/other_tools/root_maps/distdir_git_map.cpp') 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, -- cgit v1.2.3