aboutsummaryrefslogtreecommitdiff
path: root/src/build-remote
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-17 13:54:48 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-17 13:54:48 -0400
commitab5ca608bf3005fd125b646a46b7a791464bff6c (patch)
tree73e145d4bd7ab0543ca471e9245d1693ac69e266 /src/build-remote
parent23ee2d79a90ace2fe012f32c37121f50afc35223 (diff)
parent64ee02890c965bc5d8747f78e6298205c9307335 (diff)
Merge remote-tracking branch 'upstream/master' into trustless-remote-builder-simple
Diffstat (limited to 'src/build-remote')
-rw-r--r--src/build-remote/build-remote.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/build-remote/build-remote.cc b/src/build-remote/build-remote.cc
index 403f0fb17..1467761c9 100644
--- a/src/build-remote/build-remote.cc
+++ b/src/build-remote/build-remote.cc
@@ -350,8 +350,9 @@ connected:
debug("missing output %s", outputName);
assert(optResult);
auto & result = *optResult;
- assert(result.builtOutputs.count(thisOutputId));
- auto newRealisation = result.builtOutputs.at(thisOutputId);
+ auto i = result.builtOutputs.find(outputName);
+ assert(i != result.builtOutputs.end());
+ auto & newRealisation = i->second;
missingRealisations.insert(newRealisation);
missingPaths.insert(newRealisation.outPath);
}