Skip to content

Add a nil check for the calculated instanceDiff while Observe#324

Merged
sergenyalcin merged 1 commit intocrossplane:mainfrom
sergenyalcin:fix-nil-instance-diff
Jan 9, 2024
Merged

Add a nil check for the calculated instanceDiff while Observe#324
sergenyalcin merged 1 commit intocrossplane:mainfrom
sergenyalcin:fix-nil-instance-diff

Conversation

@sergenyalcin
Copy link
Member

Description of your changes

This PR adds a nil check for the calculated instanceDiff while Observe.

Related crossplane-contrib/provider-upjet-aws#1062

I have:

  • Read and followed Upjet's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Tested against provider-aws autoscaling.Attachment resource in this context.

Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
Copy link
Collaborator

@ulucinar ulucinar left a comment

Choose a reason for hiding this comment

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

Thanks @sergenyalcin,
lgtm.

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.

2 participants