Commit 1add8001 authored by 唐香港's avatar 唐香港

Update alarm_flink_job.py

parent 9be4660b
...@@ -129,7 +129,7 @@ def get_jobs(cmd): ...@@ -129,7 +129,7 @@ def get_jobs(cmd):
raise Exception(msg) raise Exception(msg)
return jobs_dict return jobs_dict
def judge_job_status(job): def judge_job_status(job, cmd):
if 'errors' in job: if 'errors' in job:
msg = "\n- **errors**: %s" % (job['errors']) msg = "\n- **errors**: %s" % (job['errors'])
logger.error(msg) logger.error(msg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment