From ce34e4cdb465bad77bb2fa9d6cb22ee9d65f6466 Mon Sep 17 00:00:00 2001 From: Jerome Ju Date: Fri, 12 Aug 2022 15:49:09 +0000 Subject: [PATCH] rename results json name --- pkg/apis/pipeline/v1/openapi_generated.go | 4 ++-- pkg/apis/pipeline/v1/taskrun_types.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/apis/pipeline/v1/openapi_generated.go b/pkg/apis/pipeline/v1/openapi_generated.go index 35be33f72e7..8dacc259067 100644 --- a/pkg/apis/pipeline/v1/openapi_generated.go +++ b/pkg/apis/pipeline/v1/openapi_generated.go @@ -2840,7 +2840,7 @@ func schema_pkg_apis_pipeline_v1_TaskRunStatus(ref common.ReferenceCallback) com }, }, }, - "taskResults": { + "results": { VendorExtensible: spec.VendorExtensible{ Extensions: spec.Extensions{ "x-kubernetes-list-type": "atomic", @@ -2977,7 +2977,7 @@ func schema_pkg_apis_pipeline_v1_TaskRunStatusFields(ref common.ReferenceCallbac }, }, }, - "taskResults": { + "results": { VendorExtensible: spec.VendorExtensible{ Extensions: spec.Extensions{ "x-kubernetes-list-type": "atomic", diff --git a/pkg/apis/pipeline/v1/taskrun_types.go b/pkg/apis/pipeline/v1/taskrun_types.go index 127e897fb58..d79c479d64a 100644 --- a/pkg/apis/pipeline/v1/taskrun_types.go +++ b/pkg/apis/pipeline/v1/taskrun_types.go @@ -225,7 +225,7 @@ type TaskRunStatusFields struct { // TaskRunResults are the list of results written out by the task's containers // +optional // +listType=atomic - Results []TaskRunResult `json:"taskResults,omitempty"` + Results []TaskRunResult `json:"results,omitempty"` // The list has one entry per sidecar in the manifest. Each entry is // represents the imageid of the corresponding sidecar.