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 <[email protected]>
  • Loading branch information
tmshort committed Feb 9, 2024
1 parent db3ca92 commit b6e2aba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/controllers/extension_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ func (*ExtensionReconciler) checkForUnexpectedFieldChange(a, b ocv1alpha1.Extens
//
//nolint:unparam
func (r *ExtensionReconciler) reconcile(ctx context.Context, ext *ocv1alpha1.Extension) (ctrl.Result, error) {

Check failure on line 108 in internal/controllers/extension_controller.go

View workflow job for this annotation

GitHub Actions / lint

unnecessary leading newline (whitespace)

// 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 b6e2aba

Please sign in to comment.