fix: fix 0 len flow module processing

This commit is contained in:
Ruben Fiszel
2023-09-30 09:00:39 +02:00
parent db63eaf29c
commit f97289a3d8
@@ -166,6 +166,7 @@ pub async fn update_flow_status_after_job_completion_internal<
(false, None)
};
// 0 length flows are not failure steps
let is_failure_step =
old_status.step >= old_status.modules.len() as i32 && old_status.modules.len() > 0;