(results []*storepb.PlanCheckRunResult_Result)
| 1248 | } |
| 1249 | |
| 1250 | func convertToPlanCheckRunResults(results []*storepb.PlanCheckRunResult_Result) []*v1pb.PlanCheckRun_Result { |
| 1251 | var resultsV1 []*v1pb.PlanCheckRun_Result |
| 1252 | for _, result := range results { |
| 1253 | resultsV1 = append(resultsV1, convertToPlanCheckRunResult(result)) |
| 1254 | } |
| 1255 | return resultsV1 |
| 1256 | } |
| 1257 | |
| 1258 | func convertToPlanCheckRunResult(result *storepb.PlanCheckRunResult_Result) *v1pb.PlanCheckRun_Result { |
| 1259 | resultV1 := &v1pb.PlanCheckRun_Result{ |
no test coverage detected