Skip to content

Commit

Permalink
fixup! ✨ Plumb the Extension API
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Short <tshort@redhat.com>
  • Loading branch information
tmshort committed Feb 9, 2024
1 parent db3ca92 commit 9bd2302
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/controllers/extension_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ func (*ExtensionReconciler) checkForUnexpectedFieldChange(a, b ocv1alpha1.Extens
//
//nolint:unparam
func (r *ExtensionReconciler) reconcile(ctx context.Context, ext *ocv1alpha1.Extension) (ctrl.Result, error) {
// Don't do anything if Paused
if ext.Spec.Managed == ocv1alpha1.ManagedStatePaused {
return ctrl.Result{}, nil
}

// validate spec
if err := validators.ValidateExtensionSpec(ext); err != nil {
// Set the TypeInstalled condition to Unknown to indicate that the resolution
Expand Down

0 comments on commit 9bd2302

Please sign in to comment.