Skip to content
Snippets Groups Projects
Commit 4e87b6df authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Don't send status R to myMdC from webservice code either

parent 235235b3
No related branches found
No related tags found
1 merge request!796job_monitor: don't send status 'R' to myMdC
......@@ -752,7 +752,10 @@ async def update_mdc_status(mdc: MetadataClient, action: str,
if action == 'correct':
func = mdc.update_run_api
data = {'flg_cal_data_status': flag, 'cal_pipeline_reply': message}
data = {'cal_pipeline_reply': message}
# Don't send the 'R' status, as this may trigger another correction
if flag != 'R':
data['flg_cal_data_status'] = flag
elif action == 'dark_request':
func = mdc.update_dark_run_api
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment