Skip to content

Commit

Permalink
chore: reword sync error condition message
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 6, 2024
1 parent 4cfc571 commit 2aaf7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/apiextensions/composite/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ func updateXRConditions(xr *composite.Unstructured, unsynced, unready []Composed
if len(unsynced) > 0 {
// We want to requeue to wait for our composed resources to
// become ready, since we can't watch them.
syncedCond = xpv1.ReconcileError(errors.New(errSyncResources)).WithMessage(fmt.Sprintf("Unsynced resources: %s", resource.StableNAndSomeMore(resource.DefaultFirstN, getComposerResourcesNames(unsynced))))
syncedCond = xpv1.ReconcileError(errors.New(errSyncResources)).WithMessage(fmt.Sprintf("Invalid resources: %s", resource.StableNAndSomeMore(resource.DefaultFirstN, getComposerResourcesNames(unsynced))))
requeueImmediately = true
}
if len(unready) > 0 {
Expand Down

0 comments on commit 2aaf7cf

Please sign in to comment.