diff --git a/sysom_server/sysom_diagnosis/apps/task/helper.py b/sysom_server/sysom_diagnosis/apps/task/helper.py index 3c0e17bed84d1ac28e528184107131e545074589..475496200a94d6b02fb733cfa2d1efc614f00ef6 100644 --- a/sysom_server/sysom_diagnosis/apps/task/helper.py +++ b/sysom_server/sysom_diagnosis/apps/task/helper.py @@ -325,7 +325,7 @@ class DiagnosisHelper: # If the pre-processor executes successfully, the parameters are compliant # and the Job instance is updated await DiagnosisHelper._update_job_async( - instance, command=diagnosis_task.to_dict(), status="Running" + instance, command=diagnosis_task.to_dict() ) except Exception as exc: logger.exception(f"Diagnosis preprocess error: {str(exc)}") @@ -375,7 +375,7 @@ class DiagnosisHelper: wrapper = _get_pre_processor_post_wrapper(preprocess_post_wrapper)() wrapper.process(instance.task_id, diagnosis_task) await DiagnosisHelper._update_job_async( - instance, command=diagnosis_task.to_dict() + instance, command=diagnosis_task.to_dict(), status="Running" ) except Exception as exc: logger.exception(f"Diagnosis preprocess post wrapper error: {str(exc)}")