Skip to content

Commit 9a559a0

Browse files
committed
fix(pegboard): fix container runner orphaning
1 parent 1336a33 commit 9a559a0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/edge/infra/client/container-runner/src/container.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ pub fn run(
6868
actor_id,
6969
fs_path.display()
7070
);
71+
7172
let mut runc_child = Command::new("runc")
7273
.arg("run")
7374
.arg(&actor_id)

packages/edge/infra/client/manager/src/actor/setup.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ impl Actor {
719719
match Command::new("runc")
720720
.arg("delete")
721721
.arg("--force")
722-
.arg(self.actor_id.to_string())
722+
.arg(format!("{}-{}", self.actor_id, self.generation))
723723
.output()
724724
.await
725725
{

0 commit comments

Comments
 (0)