diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2025-01-29 16:49:02 +0100 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2025-02-07 14:58:04 +0100 |
commit | 952c60a8ecc4318fbd20a01fe642b6629ddf42cc (patch) | |
tree | 9f2c783b4349839b380b7a3ad14a4d85ae5b5e35 /src/buildtool/execution_api/remote/bazel/bazel_api.cpp | |
parent | 5512a2d221623d4c69ca6651a4706997e53080ab (diff) | |
download | justbuild-952c60a8ecc4318fbd20a01fe642b6629ddf42cc.tar.gz |
CommonApi: Remove template parameter from UploadAndUpdateContainer
...since it works with ArtifactBlobs only.
Diffstat (limited to 'src/buildtool/execution_api/remote/bazel/bazel_api.cpp')
-rw-r--r-- | src/buildtool/execution_api/remote/bazel/bazel_api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/execution_api/remote/bazel/bazel_api.cpp b/src/buildtool/execution_api/remote/bazel/bazel_api.cpp index d9990f9a..03d79199 100644 --- a/src/buildtool/execution_api/remote/bazel/bazel_api.cpp +++ b/src/buildtool/execution_api/remote/bazel/bazel_api.cpp @@ -74,7 +74,7 @@ namespace { ? IsExecutableObject(info_map.at(blob.digest).type) : false; // Collect blob and upload to other CAS if transfer size reached. - if (not UpdateContainerAndUpload<ArtifactDigest>( + if (not UpdateContainerAndUpload( &container, std::move(blob), /*exception_is_fatal=*/true, |