-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a nil case to the getValueFromInterface
function
#666
Conversation
a739e1e
to
896dc1a
Compare
Signed-off-by: Sergen Yalçın <[email protected]>
896dc1a
to
5cd11c9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @sergenyalcin, lgtm.
Signed-off-by: Sergen Yalçın <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Signed-off-by: Sergen Yalçın <[email protected]>
any reason why this PR is not with label for backport to v1.15 release ? - looks like we started using 1.16 rc for providers https://github.com/upbound/provider-aws/blob/main/go.mod#L13 after crossplane-contrib/provider-upjet-aws#1159 |
Lets backport it. If the providers need it better that they use v1.15.x then the rc for v1.16 |
Successfully created backport PR for |
Description of your changes
This PR adds a nil case to the
getValueFromInterface
function to handle the case that the value of the segment is nil. This issue was observed while testing the conversion functions in provider-aws.This PR addresses the same issue as here, but for a different function.
I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested
Tested locally for the observed case.