Skip to content

Commit

Permalink
Merge pull request #227 from pdettori/issue-226
Browse files Browse the repository at this point in the history
✨ remove constraint on single cp of type host
  • Loading branch information
pdettori authored Mar 12, 2024
2 parents 0b735f8 + 5a988e3 commit d3b014e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/reconcilers/host/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ func New(cl client.Client, scheme *runtime.Scheme, version string, clientSet *ku
func (r *HostReconciler) Reconcile(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) (ctrl.Result, error) {
_ = clog.FromContext(ctx)

// only one CP of type "host" can exist
if err := r.checkOnlyOneCPOfTypeHostExists(ctx, hcp); err != nil {
return r.UpdateStatusForSyncingError(hcp, err)
}

if err := r.BaseReconciler.ReconcileNamespace(ctx, hcp); err != nil {
return r.UpdateStatusForSyncingError(hcp, err)
}
Expand Down

0 comments on commit d3b014e

Please sign in to comment.