Skip to content

Allow using getResourceCondition directly on observed resources#463

Merged
bobh66 merged 1 commit intocrossplane-contrib:mainfrom
olvesh:main
Aug 21, 2025
Merged

Allow using getResourceCondition directly on observed resources#463
bobh66 merged 1 commit intocrossplane-contrib:mainfrom
olvesh:main

Conversation

@olvesh
Copy link
Copy Markdown
Contributor

@olvesh olvesh commented Aug 13, 2025

Description of your changes

Added a check for retrieving a resource condition on resources not wrapped in a resource object as was previously expected from the function

Fixes #462

I have:

…ce' wrapper

Signed-off-by: Olve S. Hansen <olvesh@gmail.com>
Copy link
Copy Markdown
Collaborator

@bobh66 bobh66 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks @olvesh

@bobh66 bobh66 merged commit 14d30a3 into crossplane-contrib:main Aug 21, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mismatch between structure returned from getComposedResource and the expected structure in getResourceCondition

2 participants