pull/46/head
starsliao 2022-12-16 14:08:24 +08:00
parent 583248ab77
commit 84d53c04b5
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class Jobs(Resource):
pass
else:
continue
region = i['args'][-1] if len(i['args']) == 2 else 'none'
region = i['args'][1] if len(i['args']) >= 2 else 'none'
interval = i['minutes']
if f'ConsulManager/record/jobs/{i["id"]}' in job_count_dict:
count = job_count_dict[f'ConsulManager/record/jobs/{i["id"]}']['count']