Skip to content
Closed
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 @@ -56,6 +56,7 @@ public void run() {
LinuxContainerExecutor exec = ((LinuxContainerExecutor)
getDeletionService().getContainerExecutor());
exec.removeDockerContainer(containerId);
deletionTaskFinished();
Copy link
Contributor

Choose a reason for hiding this comment

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

It is make sense for deletion,I'm wondering if I need to set the status of the deletionTask after removeDockerContainer fails

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You have considered it more thoroughly, so that there is still a chance to clean it up again after the deletion fails.

}

/**
Expand Down Expand Up @@ -86,4 +87,4 @@ public DeletionServiceDeleteTaskProto convertDeletionTaskToProto() {
}
return builder.build();
}
}
}