fix: unscheduling a recipe should not delete them (#8978)

Signed-off-by: Angie Jones <jones.angie@gmail.com>
This commit is contained in:
Angie Jones
2026-05-03 20:26:54 -05:00
committed by GitHub
parent 45d8bf81d0
commit 17c12bfbd8
8 changed files with 60 additions and 14 deletions
+2 -2
View File
@@ -180,10 +180,10 @@ pub async fn handle_schedule_remove(schedule_id: String) -> Result<()> {
.await
.context("Failed to initialize scheduler")?;
match scheduler.remove_scheduled_job(&schedule_id, true).await {
match scheduler.remove_scheduled_job(&schedule_id, false).await {
Ok(_) => {
println!(
"Scheduled job '{}' and its associated recipe removed.",
"Scheduled job '{}' removed. Associated recipe was kept.",
schedule_id
);
Ok(())