summaryrefslogtreecommitdiff
path: root/src/other_tools/ops_maps
diff options
context:
space:
mode:
Diffstat (limited to 'src/other_tools/ops_maps')
-rw-r--r--src/other_tools/ops_maps/archive_fetch_map.cpp2
-rw-r--r--src/other_tools/ops_maps/content_cas_map.cpp4
-rw-r--r--src/other_tools/ops_maps/git_tree_fetch_map.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/other_tools/ops_maps/archive_fetch_map.cpp b/src/other_tools/ops_maps/archive_fetch_map.cpp
index 1e89025d..bf655dfd 100644
--- a/src/other_tools/ops_maps/archive_fetch_map.cpp
+++ b/src/other_tools/ops_maps/archive_fetch_map.cpp
@@ -40,7 +40,7 @@ void ProcessContent(
{Artifact::ObjectInfo{
.digest = ArtifactDigest{content, 0, /*is_tree=*/false},
.type = ObjectType::File}},
- *remote_api)) {
+ **remote_api)) {
// give a warning
(*logger)(fmt::format("Failed to back up content {} from local CAS "
"to remote",
diff --git a/src/other_tools/ops_maps/content_cas_map.cpp b/src/other_tools/ops_maps/content_cas_map.cpp
index 97e959d4..190c9611 100644
--- a/src/other_tools/ops_maps/content_cas_map.cpp
+++ b/src/other_tools/ops_maps/content_cas_map.cpp
@@ -221,7 +221,7 @@ auto CreateContentCASMap(
if (remote_api.value()->RetrieveToCas(
{Artifact::ObjectInfo{.digest = digest,
.type = ObjectType::File}},
- local_api)) {
+ *local_api)) {
JustMRProgress::Instance().TaskTracker().Stop(
key.origin);
(*setter)(nullptr);
@@ -233,7 +233,7 @@ auto CreateContentCASMap(
remote_api.value()->RetrieveToCas(
{Artifact::ObjectInfo{.digest = digest,
.type = ObjectType::File}},
- local_api)) {
+ *local_api)) {
JustMRProgress::Instance().TaskTracker().Stop(key.origin);
(*setter)(nullptr);
return;
diff --git a/src/other_tools/ops_maps/git_tree_fetch_map.cpp b/src/other_tools/ops_maps/git_tree_fetch_map.cpp
index 0a0c7eb9..844aad31 100644
--- a/src/other_tools/ops_maps/git_tree_fetch_map.cpp
+++ b/src/other_tools/ops_maps/git_tree_fetch_map.cpp
@@ -45,7 +45,7 @@ void BackupToRemote(std::string const& tree_id,
{Artifact::ObjectInfo{
.digest = ArtifactDigest{tree_id, 0, /*is_tree=*/true},
.type = ObjectType::Tree}},
- remote_api)) {
+ *remote_api)) {
// give a warning
(*logger)(fmt::format(
"Failed to back up tree {} from local CAS to remote",
@@ -243,7 +243,7 @@ auto CreateGitTreeFetchMap(
remote_api.value()->RetrieveToCas(
{Artifact::ObjectInfo{.digest = digest,
.type = ObjectType::Tree}},
- local_api)) {
+ *local_api)) {
JustMRProgress::Instance().TaskTracker().Stop(key.origin);
MoveCASTreeToGit(
key.hash,