Skip to content

Commit 02a65eb

Browse files
committed
Merge branch 'master' into use-store-api
2 parents 1381ee8 + 18c0d76 commit 02a65eb

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

flake.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/hydra-queue-runner/build-remote.cc

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
#include "build-result.hh"
44
#include "serve-protocol.hh"
5-
#include "serve-protocol-impl.hh"
65
#include "state.hh"
76
#include "current-process.hh"
87
#include "processes.hh"
@@ -134,7 +133,7 @@ void State::buildRemote(ref<Store> destStore,
134133
{
135134
auto activeStepState(activeStep->state_.lock());
136135
if (activeStepState->cancelled) throw Error("step cancelled");
137-
activeStepState->pid = child->sshPid;
136+
activeStepState->pid = conn.store->getConnectionPid();
138137
}
139138

140139
Finally clearPid([&]() {

0 commit comments

Comments
 (0)