Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix nil-pointer when ConfigSource is missing (#736)
If enable-provenance-in-status is set to "true" in the Tekton Pipelines configuration, the PipelineRun.Status.Provenance fields is not nil, but the PipelineRun.Status.Provenance.ConfigSource can be nil in some cases. This change ensures a nil-pointer error does not occur in such cases. Signed-off-by: Luiz Carvalho <[email protected]>
- Loading branch information