Skip to content

Commit

Permalink
Update reconciler.go
Browse files Browse the repository at this point in the history
Remove commented code
  • Loading branch information
efiacor authored Sep 3, 2024
1 parent c2c4bad commit a98a93e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions controllers/pkg/reconcilers/generic-specializer/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,6 @@ func (r *reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Resu

log.Info("generic specializer root kptfile", "packageName", pr.Spec.PackageName, "repository", pr.Spec.RepositoryName, "kptfile", kptfile)

// kptf := kptfilelibv1.KptFile{Kptfile: rl.Items.GetRootKptfile()}
// pr.Status.Conditions = porchcondition.GetPorchConditions(kptf.GetConditions())
// TODO do we need to update the status?
if err = r.porchClient.Update(ctx, prr); err != nil {
r.recorder.Event(pr, corev1.EventTypeWarning, "ReconcileError", "cannot update packagerevision resources")
log.Error(err, "cannot update packagerevision resources", "PackageRevision", pr.Name)
Expand Down

0 comments on commit a98a93e

Please sign in to comment.