Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing omitempty that breaks compatibility
Adding "omitempty" on the optional "description" field in WorkspacePipelineDeclaration, to be compatible with previous versions. v1alpha1 is type aliased with v1beta1, but a new optional field is added. Submitting without "omitempty" will result in an error from the admission webhook: "webhook.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field: "description" By adding "omitempty" tag, this field is not sent to the server when empty.
- Loading branch information