From 67db6ccb7357714a0299fe9f3d192a26bd32ac4e Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Thu, 20 Jul 2023 15:58:35 +0200 Subject: syz-ci: don't always return Build.Commit For bisections, only return it if it's successful. We don't seem to be interested in specific values for jobs anyway. Do the same for KernelCommitDate. --- dashboard/app/jobs.go | 1 - dashboard/dashapi/dashapi.go | 1 - 2 files changed, 2 deletions(-) (limited to 'dashboard') diff --git a/dashboard/app/jobs.go b/dashboard/app/jobs.go index 6cbd4bfc8..2567cb30e 100644 --- a/dashboard/app/jobs.go +++ b/dashboard/app/jobs.go @@ -822,7 +822,6 @@ func createJobResp(c context.Context, job *Job, jobKey *db.Key) (*dashapi.JobPol MergeBaseBranch: job.MergeBaseBranch, KernelCommit: build.KernelCommit, KernelCommitTitle: build.KernelCommitTitle, - KernelCommitDate: build.KernelCommitDate, KernelConfig: kernelConfig, SyzkallerCommit: build.SyzkallerCommit, Patch: patch, diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go index 00d7a9182..af4b89e32 100644 --- a/dashboard/dashapi/dashapi.go +++ b/dashboard/dashapi/dashapi.go @@ -185,7 +185,6 @@ type JobPollResp struct { MergeBaseBranch string KernelCommit string KernelCommitTitle string - KernelCommitDate time.Time KernelConfig []byte SyzkallerCommit string Patch []byte -- cgit mrf-deployment