Skip to content

Commit 28fb03a

Browse files
committed
Fix for daily build update
Signed-off-by: KeerthanaAP <[email protected]>
1 parent 1ff88e2 commit 28fb03a

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)