Skip to content

Commit c81a88b

Browse files
committed
Make ID and RerunOfReportID fields mandatory in TestReport struct
1 parent 7de18c7 commit c81a88b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/flakeguard/reports/test_report.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ func NewTestReport(results []TestResult, opts ...TestReportOption) (TestReport,
219219

220220
// TestReport reports on the parameters and results of one to many test runs
221221
type TestReport struct {
222-
ID string `json:"id,omitempty"`
223-
RerunOfReportID string `json:"rerun_of_report_id,omitempty"` // references the ID of the original/base report from which this re-run was created.
222+
ID string `json:"id"`
223+
RerunOfReportID string `json:"rerun_of_report_id"` // references the ID of the original/base report from which this re-run was created.
224224
ProjectPath string `json:"project_path"`
225225
GoProject string `json:"go_project"`
226226
BranchName string `json:"branch_name,omitempty"`

0 commit comments

Comments
 (0)