Skip to content

Commit

Permalink
fix: consider both ready and sync
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
  • Loading branch information
phisco committed Mar 5, 2024
1 parent 320a2be commit 4b641f8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/controller/apiextensions/composite/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -680,14 +680,12 @@ func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reco
log.Debug("Composed resource is not yet valid", "id", id)
unsynced = append(unsynced, cd)
r.record.Event(xr, event.Normal(reasonCompose, fmt.Sprintf("Composed resource %q is not yet valid", id)))
continue
}

if !cd.Ready {
log.Debug("Composed resource is not yet ready", "id", id)
unready = append(unready, cd)
r.record.Event(xr, event.Normal(reasonCompose, fmt.Sprintf("Composed resource %q is not yet ready", id)))
continue
}
}

Expand Down

0 comments on commit 4b641f8

Please sign in to comment.