Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ pub fn run(
actor_id,
fs_path.display()
);

let mut runc_child = Command::new("runc")
.arg("run")
.arg(&actor_id)
Expand Down
2 changes: 1 addition & 1 deletion packages/edge/infra/client/manager/src/actor/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ impl Actor {
match Command::new("runc")
.arg("delete")
.arg("--force")
.arg(self.actor_id.to_string())
.arg(format!("{}-{}", self.actor_id, self.generation))
.output()
Comment on lines 719 to 723
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: Ensures correct container instance is deleted when multiple generations exist, preventing orphaned containers

.await
{
Expand Down
Loading