Skip to content

Commit 0984782

Browse files
Merge pull request #93 from KeerthanaAP/fix_dailybuildupdate
Fix for daily build update
2 parents 1ff88e2 + 28fb03a commit 0984782

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

monitor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ def get_jobs(prow_link):
129129
if match:
130130
all_jobs=match.group(1)
131131
all_jobs_parsed=json.loads(all_jobs)
132-
current_date=get_current_date()
132+
current_date=get_current_date().date()
133133
jobs_run_today = []
134134
for ele in all_jobs_parsed:
135-
job_time=parse_job_date(ele["Started"])
135+
job_time=parse_job_date(ele["Started"]).date()
136136
if job_time == current_date and ele["Result"] != "PENDING":
137137
job_log_path = ele["SpyglassLink"]
138138
jobs_run_today.append(job_log_path)

0 commit comments

Comments
 (0)