summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/git/git_api.hpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2025-01-29 16:49:02 +0100
committerMaksim Denisov <denisov.maksim@huawei.com>2025-02-07 14:58:04 +0100
commit952c60a8ecc4318fbd20a01fe642b6629ddf42cc (patch)
tree9f2c783b4349839b380b7a3ad14a4d85ae5b5e35 /src/buildtool/execution_api/git/git_api.hpp
parent5512a2d221623d4c69ca6651a4706997e53080ab (diff)
downloadjustbuild-952c60a8ecc4318fbd20a01fe642b6629ddf42cc.tar.gz
CommonApi: Remove template parameter from UploadAndUpdateContainer
...since it works with ArtifactBlobs only.
Diffstat (limited to 'src/buildtool/execution_api/git/git_api.hpp')
-rw-r--r--src/buildtool/execution_api/git/git_api.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/execution_api/git/git_api.hpp b/src/buildtool/execution_api/git/git_api.hpp
index 55bdaabe..5bb891ef 100644
--- a/src/buildtool/execution_api/git/git_api.hpp
+++ b/src/buildtool/execution_api/git/git_api.hpp
@@ -248,7 +248,7 @@ class GitApi final : public IExecutionApi {
hash_function, *entry_content);
// Collect blob and upload to remote CAS if transfer
// size reached.
- if (not UpdateContainerAndUpload<ArtifactDigest>(
+ if (not UpdateContainerAndUpload(
&tree_deps_only_blobs,
ArtifactBlob{std::move(digest),
*entry_content,
@@ -283,7 +283,7 @@ class GitApi final : public IExecutionApi {
hash_function, *content);
// Collect blob and upload to remote CAS if transfer size reached.
- if (not UpdateContainerAndUpload<ArtifactDigest>(
+ if (not UpdateContainerAndUpload(
&container,
ArtifactBlob{std::move(digest),
std::move(*content),