Skip to content

Commit

Permalink
Update controllers/shipwrightbuild_controller.go
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Kaplan <[email protected]>
  • Loading branch information
gabemontero and adambkaplan authored Aug 31, 2021
1 parent bb68392 commit 82910a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/shipwrightbuild_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (r *ShipwrightBuildReconciler) Reconcile(ctx context.Context, req ctrl.Requ
case tektonOPErr == nil && tektonAPIErr == nil:
logger.Info("Tekton Pipelines is installed, and the Tekton Operator is also installed.")
case tektonAPIErr == nil && tektonOPErr != nil:
logger.Info("Tekton has been installed without use of its associated operator.")
logger.Info("Tekton Pipelines has been installed without use of its associated operator.")
case errors.IsNotFound(tektonAPIErr) && errors.IsNotFound(tektonOPErr):
//TODO should we error out here or proceed and give the user the opportunity of install Tekton after Shipwright?
logger.Info("Evidence of neither required Tekton APIs nor the Tekton Operator being installed can be found. Will proceed with the Shipwright installation attempt, but Shiipwright will not be functional without Tekton")
Expand Down

0 comments on commit 82910a2

Please sign in to comment.